Changeset 5500 in orxonox.OLD for trunk/src/world_entities/power_ups
- Timestamp:
- Nov 8, 2005, 12:03:18 AM (19 years ago)
- Location:
- trunk/src/world_entities/power_ups
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/power_ups/laser_power_up.cc
r5499 r5500 102 102 * Just override this function with whatever you want to be drawn. 103 103 */ 104 void LaserPowerUp::draw() 104 void LaserPowerUp::draw() const 105 105 { glMatrixMode(GL_MODELVIEW); 106 106 glPushMatrix(); -
trunk/src/world_entities/power_ups/laser_power_up.h
r5458 r5500 18 18 virtual void LaserPowerUp::collidesWith(WorldEntity* entity, const Vector& location); 19 19 virtual void tick(float dt); 20 virtual void draw() ;20 virtual void draw() const; 21 21 22 22 private: -
trunk/src/world_entities/power_ups/turret_power_up.cc
r5499 r5500 102 102 * Just override this function with whatever you want to be drawn. 103 103 */ 104 void TurretPowerUp::draw() 104 void TurretPowerUp::draw() const 105 105 { glMatrixMode(GL_MODELVIEW); 106 106 glPushMatrix(); -
trunk/src/world_entities/power_ups/turret_power_up.h
r5437 r5500 18 18 virtual void TurretPowerUp::collidesWith(WorldEntity* entity, const Vector& location); 19 19 virtual void tick(float dt); 20 virtual void draw() ;20 virtual void draw() const; 21 21 22 22 private:
Note: See TracChangeset
for help on using the changeset viewer.