TankCamera Class Reference

#include <TankCamera.h>

List of all members.

Public Member Functions

 TankCamera (ScorchedContext &context)
virtual ~TankCamera ()
int getCameraType ()
void setCameraType (int c)
VectorgetCameraRotation ()
void setCameraRotation (Vector &rot)
VectorgetCameraLookAt ()
void setCameraLookAt (Vector &pos)

Protected Attributes

ScorchedContextcontext_
Vector cameraRotation_
Vector lookAt_
int cameraType_


Detailed Description

Definition at line 27 of file TankCamera.h.


Constructor & Destructor Documentation

TankCamera::TankCamera ( ScorchedContext context  ) 

Definition at line 23 of file TankCamera.cpp.

TankCamera::~TankCamera (  )  [virtual]

Definition at line 28 of file TankCamera.cpp.


Member Function Documentation

int TankCamera::getCameraType (  )  [inline]

Definition at line 33 of file TankCamera.h.

References cameraType_.

Referenced by ClientStartGameHandler::processMessage().

void TankCamera::setCameraType ( int  c  )  [inline]

Definition at line 34 of file TankCamera.h.

References cameraType_.

Referenced by ClientNewGameHandler::actualProcessMessage(), and MainCamera::simulate().

Vector& TankCamera::getCameraRotation (  )  [inline]

Definition at line 36 of file TankCamera.h.

References cameraRotation_.

Referenced by ClientStartGameHandler::processMessage().

void TankCamera::setCameraRotation ( Vector rot  )  [inline]

Definition at line 37 of file TankCamera.h.

References cameraRotation_.

Referenced by MainCamera::simulate().

Vector& TankCamera::getCameraLookAt (  )  [inline]

Definition at line 39 of file TankCamera.h.

References lookAt_.

Referenced by ClientStartGameHandler::processMessage().

void TankCamera::setCameraLookAt ( Vector pos  )  [inline]

Definition at line 40 of file TankCamera.h.

References lookAt_.

Referenced by MainCamera::simulate().


Member Data Documentation

ScorchedContext& TankCamera::context_ [protected]

Definition at line 43 of file TankCamera.h.

Vector TankCamera::cameraRotation_ [protected]

Definition at line 44 of file TankCamera.h.

Referenced by getCameraRotation(), and setCameraRotation().

Vector TankCamera::lookAt_ [protected]

Definition at line 44 of file TankCamera.h.

Referenced by getCameraLookAt(), and setCameraLookAt().

int TankCamera::cameraType_ [protected]

Definition at line 45 of file TankCamera.h.

Referenced by getCameraType(), and setCameraType().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:07 2009 for Scorched3D by  doxygen 1.5.3