Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/spaceshipcontrol/src/world_entities/player.h @ 5839

Last change on this file since 5839 was 5839, checked in by snellen, 18 years ago

player.cc and player.h changed (both files in ../src/world_entities)

File size: 656 bytes
Line 
1/*!
2 * @file player.h
3 * Implements a basic controllable WorldEntity
4 */
5
6#ifndef _PLAYER_H
7#define _PLAYER_H
8
9#include "world_entity.h"
10#include "physics_interface.h"
11#include "event_listener.h"
12#include "playable.h"
13
14
15//! Basic controllable WorldEntity
16/**
17  *  this is the debug player - actualy we would have to make a new
18     class derivated from Player for each player. for now, we just use
19     the player.cc for debug also
20*/
21class Player : public EventListener
22{
23
24  public:
25    Player();
26    virtual ~Player();
27
28    void init();
29
30    virtual void process(const Event &event);
31
32
33  private:
34    Playable* controllable;
35
36
37};
38
39#endif /* _PLAYER_H */
Note: See TracBrowser for help on using the repository browser.