CameraInstructionStay Class Reference

#include <CameraInstructions.h>

Inherits CameraInstructions.

Inheritance diagram for CameraInstructionStay:

Inheritance graph
[legend]
Collaboration diagram for CameraInstructionStay:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Private Attributes

unsigned int mFrames
 number of frames we should do nothing
unsigned int mCameraNumber
 the camera number

Detailed Description

Instruction for not moving the camera

Definition at line 132 of file CameraInstructions.h.


Constructor & Destructor Documentation

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

Constructor

Parameters:
anim the animator pointer
frames the number of frames the camera should not move
camnum the camera which should not move

Definition at line 140 of file CameraInstructions.h.

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

Definition at line 147 of file CameraInstructions.h.


Member Function Documentation

void CameraInstructionStay::execute (  )  [virtual]

does nothing to the camera until 0 frames are left, then the pc is incremented

Implements CameraInstructions.

Definition at line 118 of file CameraInstructions.cpp.

References CameraInstructions::animator, mFrames, and CameraAnimator::mPC.


Member Data Documentation

unsigned int CameraInstructionStay::mFrames [private]

number of frames we should do nothing

Definition at line 155 of file CameraInstructions.h.

Referenced by execute().

unsigned int CameraInstructionStay::mCameraNumber [private]

the camera number

Definition at line 156 of file CameraInstructions.h.


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