- Timestamp:
- Nov 4, 2017, 5:04:59 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Asteroid_HS17/src/modules/asteroids/AsteroidsStone.h
r11516 r11528 28 28 29 29 /** 30 @file InvaderEnemy.h31 @brief Declaration of the InvaderEnemyclass.30 @file AsteroidsStone.h 31 @brief Declaration of the AsteroidsStone class. 32 32 */ 33 33 … … 37 37 #include "asteroids/AsteroidsPrereqs.h" 38 38 39 #include "worldentities/ MovableEntity.h"39 #include "worldentities/Pawn.h" 40 40 41 41 namespace orxonox 42 42 { 43 class _AsteroidsExport AsteroidsStone : public MovableEntity43 class _AsteroidsExport AsteroidsStone : public Pawn 44 44 { 45 45 public: … … 47 47 virtual void tick(float dt) override; 48 48 49 //Radius of the asteroid 49 50 float r; 50 51 int level; 52 virtual void setAsteroidsPlayer(AsteroidsShip* player){this->player = player;} 53 51 54 protected: 52 float fieldWidth_; 53 float fieldHeight_; 55 56 //herausfinden->ueber Kamera Einstellung wie bei Pong? 57 float fieldWidth_=500; 58 float fieldHeight_=700; 54 59 Vector2 velocity; 55 60 float maxspeed; 56 57 58 59 61 }; 60 62 } 61 63 62 #endif /* _ InvaderEnemy_H__ */64 #endif /* _AsteroidsStone_H__ */
Note: See TracChangeset
for help on using the changeset viewer.