Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4404 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc


Ignore:
Timestamp:
May 30, 2005, 6:27:45 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: player now is a EventListener for particular events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/player.cc

    r4397 r4404  
    2828#include "stdincl.h"
    2929
     30#include "event_handler.h"
    3031
    3132#include "projectile.h"
     33#include "event.h"
    3234
    3335using namespace std;
     
    6567}
    6668
     69
    6770/**
    6871   \brief destructs the player, deletes alocated memory
     
    7679  delete this->weaponMan;
    7780}
     81
    7882
    7983/**
     
    110114}
    111115
     116
    112117/**
    113118   \brief adds a weapon to the weapon list of player
     
    275280  if( !strcmp( cmd->cmd, CONFIG_NAME_PLAYER_NEXT_WEAPON)) if(cmd->bUp) this->bWeaponChange = !this->bWeaponChange;
    276281}
     282
     283
     284void Player::process(const Event &event)
     285{
     286
     287}
Note: See TracChangeset for help on using the changeset viewer.