#include <CameraInstructions.h>
Inherits CameraInstructions.
Inheritance diagram for CameraInstructionStay:


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 | |
Definition at line 132 of file CameraInstructions.h.
| CameraInstructionStay::CameraInstructionStay | ( | CameraAnimator * | anim, | |
| unsigned int | frames, | |||
| unsigned int | camnum | |||
| ) | [inline] |
Constructor
| 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.
| 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.
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] |
1.5.1