Changeset 11058 for code/branches/cpp11_v3/src/modules/weapons
- Timestamp:
- Jan 10, 2016, 8:01:09 PM (9 years ago)
- Location:
- code/branches/cpp11_v3/src/modules/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3/src/modules/weapons/IceGunFreezer.cc
r11054 r11058 63 63 /** 64 64 @brief 65 The controlling happens here. This method defines what the controller has to do each tick.66 @param dt67 The duration of the tick.68 */69 void IceGunFreezer::tick(float dt)70 {71 SUPER(IceGunFreezer, tick, dt);72 73 74 }75 76 /**77 @brief78 65 Sets the freeze time variable to the passed value. 79 66 */ -
code/branches/cpp11_v3/src/modules/weapons/IceGunFreezer.h
r11054 r11058 37 37 #include "weapons/WeaponsPrereqs.h" 38 38 39 #include "tools/interfaces/Tickable.h"40 39 #include "worldentities/StaticEntity.h" 41 40 #include "graphics/Model.h" … … 50 49 @ingroup Weapons 51 50 */ 52 class _WeaponsExport IceGunFreezer : public StaticEntity , public Tickable51 class _WeaponsExport IceGunFreezer : public StaticEntity 53 52 { 54 53 public: 55 54 IceGunFreezer(Context* context); 56 55 virtual ~IceGunFreezer(); 57 virtual void tick(float dt) override;58 56 virtual void startFreezing(); 59 57 virtual void stopFreezing();
Note: See TracChangeset
for help on using the changeset viewer.