mod_sim::game::Game::MultiView Class Reference

MultiView. More...

Inheritance diagram for mod_sim::game::Game::MultiView:

eng::View

List of all members.

Public Types

enum  eMode { eMode_DISABLED, eMode_REAR_VIEW, eMode_MISSILE_VIEW }

Public Member Functions

 MultiView (const Rect< int > &rect)
void Reshape (const Rect< int > &mainViewRect)
void SetMode (eMode mode)
eMode GetMode (void)
void Tick (void)
CLASS_VAR Rect< int > ComputeRect (const Rect< int > &mainViewRect)

Private Attributes

eMode mMode


Detailed Description

MultiView.

This is a View object with different modes. It can be a rear-view, missile-view, etc.


Member Enumeration Documentation

enum mod_sim::game::Game::MultiView::eMode

Enumerator:
eMode_DISABLED 
eMode_REAR_VIEW 
eMode_MISSILE_VIEW 


Constructor & Destructor Documentation

mod_sim::game::Game::MultiView::MultiView ( const Rect< int > &  rect  ) 


Member Function Documentation

void mod_sim::game::Game::MultiView::Reshape ( const Rect< int > &  mainViewRect  )  [virtual]

Reimplemented from eng::View.

void mod_sim::game::Game::MultiView::SetMode ( eMode  mode  ) 

MultiView mode.

Game::MultiView::eMode mod_sim::game::Game::MultiView::GetMode ( void   ) 

void mod_sim::game::Game::MultiView::Tick ( void   ) 

Update View. To be called by Game::Tick().

CLASS_VAR Rect<int> mod_sim::game::Game::MultiView::ComputeRect ( const Rect< int > &  mainViewRect  ) 


Member Data Documentation

eMode mod_sim::game::Game::MultiView::mMode [private]


The documentation for this class was generated from the following files: Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:32 2007