Changeset 5498 in orxonox.OLD for trunk/src/world_entities/weapons/test_gun.cc
- Timestamp:
- Nov 7, 2005, 10:43:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/test_gun.cc
r5462 r5498 192 192 } 193 193 194 195 /**196 * is called, when the weapon gets hit (=collide with something)197 * @param from which entity it is been hit198 * @param where it is been hit199 200 this may not be used, since it would make the game relay complicated when one201 can destroy the weapons of enemies or vice versa.202 */203 void TestGun::hit (WorldEntity* entity, Vector* position)204 {}205 206 207 194 /** 208 195 * is called, when the weapon is destroyed 209 210 211 196 * 197 * this is in conjunction with the hit function, so when a weapon is able to get 198 * hit, it can also be destoryed. 212 199 */ 213 200 void TestGun::destroy ()
Note: See TracChangeset
for help on using the changeset viewer.