CameraInstructionSet Class Reference

#include <CameraInstructions.h>

Inherits CameraInstructions.

Inheritance diagram for CameraInstructionSet:

Inheritance graph
[legend]
Collaboration diagram for CameraInstructionSet:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CameraInstructionSet (CameraAnimator *anim, unsigned int camnum)
virtual ~CameraInstructionSet ()
virtual void execute ()

Private Attributes

unsigned int mCameraNumber
 the camera to activate

Detailed Description

activates a camera for rendering

Definition at line 79 of file CameraInstructions.h.


Constructor & Destructor Documentation

CameraInstructionSet::CameraInstructionSet ( CameraAnimator anim,
unsigned int  camnum 
) [inline]

Constructor

Parameters:
anim the animator pointer
camnum the number of the camera to activate

Definition at line 86 of file CameraInstructions.h.

virtual CameraInstructionSet::~CameraInstructionSet (  )  [inline, virtual]

Definition at line 91 of file CameraInstructions.h.


Member Function Documentation

void CameraInstructionSet::execute (  )  [virtual]

activates the camera

Implements CameraInstructions.

Definition at line 102 of file CameraInstructions.cpp.

References CameraInstructions::animator, CameraAnimator::mActCam, mCameraNumber, and CameraAnimator::mPC.


Member Data Documentation

unsigned int CameraInstructionSet::mCameraNumber [private]

the camera to activate

Definition at line 99 of file CameraInstructions.h.

Referenced by execute().


The documentation for this class was generated from the following files:
Generated on Fri Feb 1 00:02:13 2008 for Grayfall by  doxygen 1.5.1