Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4414 in orxonox.OLD for orxonox/trunk/src/world_entities/camera.h


Ignore:
Timestamp:
May 31, 2005, 1:29:44 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: connected the viewport change functions in the camera system with the event handling system - works great

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/camera.h

    r4338 r4414  
    99#include "p_node.h"
    1010#include "vector.h"
     11#include "event_listener.h"
    1112
    1213class World;
    1314class CameraTarget;
     15class Event;
    1416
    1517enum ViewMode{VIEW_NORMAL, VIEW_BEHIND, VIEW_FRONT, VIEW_LEFT, VIEW_RIGHT, VIEW_TOP};
     
    1921   This class controls the viewpoint from which the World is rendered.
    2022*/
    21 class Camera : public PNode
     23class Camera : public PNode, public EventListener
    2224{
    2325 private:
     
    4648  void tick(float dt);
    4749  void apply (void);
     50
     51  void process(const Event &event);
    4852};
    4953
Note: See TracChangeset for help on using the changeset viewer.