- Timestamp:
- Apr 26, 2015, 10:16:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseFS15/src/modules/towerdefense/TowerDefenseSelecter.h
r10397 r10406 41 41 TowerDefenseSelecter(Context* context); //!< Constructor. Registers and initializes the object. 42 42 virtual ~TowerDefenseSelecter(); 43 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 44 virtual void tick(float dt); 43 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 44 virtual void tick(float dt); 45 45 virtual void moveFrontBack(const Vector2& value); //!< Overloaded the function to steer the bat up and down. 46 46 virtual void moveRightLeft(const Vector2& value); //!< Overloaded the function to steer the bat up and down. … … 50 50 void fire(unsigned int firemode); 51 51 virtual void fired(unsigned int firemode); 52 virtual void setSelectedPosition(TDCoordinate* newPos); 53 virtual void setSelectedPosition(int x, int y); 54 55 private: 56 virtual void updatePosition(); 57 52 58 TDCoordinate* selectedPos_; 53 54 55 56 private:57 58 59 bool moveUpPressed_; 59 60 bool moveDownPressed_; 60 61 bool moveLeftPressed_; 61 bool moveRightPressed_; 62 bool moveRightPressed_; 62 63 }; 63 64 }
Note: See TracChangeset
for help on using the changeset viewer.