Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 8, 2015, 12:17:03 AM (10 years ago)
Author:
fvultier
Message:

Removed unnecessary output to console in kump minigame. Added a small description to some classes often used by PPS students: Pawn, StaticEntity, MobileEntity, ControllableEntity.

Location:
code/trunk/src/orxonox/worldentities/pawns
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/worldentities/pawns/Pawn.h

    r10216 r10437  
    3939
    4040namespace 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
    4254    class _OrxonoxExport Pawn // tolua_export
    4355        : public ControllableEntity, public RadarViewable, public PickupCarrier
  • code/trunk/src/orxonox/worldentities/pawns/SpaceShip.h

    r10216 r10437  
    4747    @brief
    4848        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.
    4950
    5051        There are several parameters that define the behavior of the SpaceShip>
Note: See TracChangeset for help on using the changeset viewer.