Public Member Functions | Protected Attributes
ViewController Class Reference

Base class for view controllers. More...

#include <ViewController.hh>

Inheritance diagram for ViewController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ViewController (UserCamera *camera)
 Constructor.
virtual ~ViewController ()
 Destructor.
virtual void Init ()=0
virtual void Init (const math::Vector3 &)
virtual void Update ()=0
void SetEnabled (bool _value)
 Set whether the controller is enabled.
virtual void HandleMouseEvent (const common::MouseEvent &_event)=0
 Handle a mouse event.
std::string GetTypeString () const

Protected Attributes

UserCameracamera
bool enabled
std::string typeString

Detailed Description

Base class for view controllers.


The documentation for this class was generated from the following file: