Changeset 10437 for code/trunk/src/orxonox/worldentities/pawns
- Timestamp:
- May 8, 2015, 12:17:03 AM (10 years ago)
- Location:
- code/trunk/src/orxonox/worldentities/pawns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/worldentities/pawns/Pawn.h
r10216 r10437 39 39 40 40 namespace orxonox // tolua_export 41 { // tolua_export 41 { 42 /** 43 @brief 44 Everything in Orxonoy that has a health attribute is a Pawn. After a Pawn is spawned its health is set to 45 its initial health. In every call of the Pawns tick function the game checks whether the pawns health is at 46 or below zero. If it is, the pawn gets killed. 47 48 Pawns can carry pickups and fire weapons. The can also have shields. 49 50 Notice that every Pawn is a ControllableEntity. 51 */ 52 53 // tolua_export 42 54 class _OrxonoxExport Pawn // tolua_export 43 55 : public ControllableEntity, public RadarViewable, public PickupCarrier -
code/trunk/src/orxonox/worldentities/pawns/SpaceShip.h
r10216 r10437 47 47 @brief 48 48 The SpaceShip is the principal entity through which the player interacts with the game. Its main function is to fly, however many things, such as @ref orxonox::Engine Engines or @ref orxonox::Weapon Weapons, can be attached to it. 49 The feature that you can add @ref orxonox::Engine Engines is new in this class. However adding @ref orxonox::Weapon Weapons is possible because every Spaceship is a Pawn (due to inheritance) and every Pawn can carry @ref orxonox::Weapon Weapons. 49 50 50 51 There are several parameters that define the behavior of the SpaceShip>
Note: See TracChangeset
for help on using the changeset viewer.