Changeset 10708 in orxonox.OLD for branches/presentation/src/world_entities/npcs/adm_turret.h
- Timestamp:
- Jun 16, 2007, 11:15:39 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/npcs/adm_turret.h
r10703 r10708 12 12 #include "world_entity.h" 13 13 #include "weapons/bsp_weapon.h" 14 15 class DamageForwardingWorldEntity: public WorldEntity 16 { 17 public: 18 DamageForwardingWorldEntity( WorldEntity* dfp ){ this->damPar = dfp; } 19 virtual void hit(float damage, WorldEntity* killer){ this->damPar->hit(damage, killer); } 20 private: 21 WorldEntity* damPar; 22 }; 14 23 15 24
Note: See TracChangeset
for help on using the changeset viewer.