Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7483 in orxonox.OLD for trunk/src/util


Ignore:
Timestamp:
May 2, 2006, 11:17:39 PM (19 years ago)
Author:
patrick
Message:

orxonox: kill list work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/game_rules.h

    r7482 r7483  
    1111#include <vector>
    1212
     13#include "kill.h"
    1314
    1415class TiXmlElement;
     
    3334    inline void addMissionGoal(MissionGoal* missionGoal) { this->missionList.push_back(missionGoal); }
    3435
    35     inline void registerKill(const Kill& kill) { /*this->killList.push_back(&kill);*/ }
     36    inline void registerKill(const Kill& kill) { /*this->killList.push_back(kill);*/ }
    3637
    3738    virtual void onPlayerSpawn() {}
     
    5354    std::vector<MissionGoal*>   missionList;            //!< list of mission goals
    5455
    55     const std::vector<Kill*>          killList;               //!<  list of kills in the world
     56    const std::vector<Kill>          killList;               //!<  list of kills in the world
    5657};
    5758
Note: See TracChangeset for help on using the changeset viewer.