Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

orxonox: working on kill event processing (game rule specific)

Location:
trunk/src/util
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/Makefile.am

    r7461 r7482  
    1515                        mission_goal.cc\
    1616                        kill_target.cc\
     17                        kill.cc \
    1718                        \
    1819                        signal_handler.cc \
     
    3839                        mission_goal.cc\
    3940                        kill_target.h\
     41                        kill.h \
     42                        \
    4043                        signal_handler.h \
    4144                        \
  • trunk/src/util/game_rules.h

    r7461 r7482  
    1616class Player;
    1717class MissionGoal;
     18class Kill;
    1819
    1920
     
    3233    inline void addMissionGoal(MissionGoal* missionGoal) { this->missionList.push_back(missionGoal); }
    3334
     35    inline void registerKill(const Kill& kill) { /*this->killList.push_back(&kill);*/ }
    3436
    3537    virtual void onPlayerSpawn() {}
     
    5052    Player*                     localPlayer;            //!< reference to the local player
    5153    std::vector<MissionGoal*>   missionList;            //!< list of mission goals
     54
     55    const std::vector<Kill*>          killList;               //!<  list of kills in the world
    5256};
    5357
Note: See TracChangeset for help on using the changeset viewer.