Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 2, 2009, 8:42:11 PM (15 years ago)
Author:
landauf
Message:
  • Added overlay element for the Pong Gametype
  • Changed the type of the overlay's owner to BaseObject (former ControllableEntity) to allow other classes to own an overlay (for example a Gametype)
  • OverlayGroup does now use a std::set instead of a std::map to store it's overlay elements. Therefore a name is not anymore compulsory for an overlay element.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/gametypes/Gametype.h

    r2839 r2890  
    107107                { return this->players_; }
    108108
     109            int getScore(PlayerInfo* player) const;
     110
    109111            inline void registerSpawnPoint(SpawnPoint* spawnpoint)
    110112                { this->spawnpoints_.insert(spawnpoint); }
Note: See TracChangeset for help on using the changeset viewer.