CScroller Class Reference

#include <CScroller.h>

List of all members.

Public Member Functions

 CScroller (void)
 ~CScroller (void)
void Create (int PositionX, int PositionY, int SpriteWidth, int SpriteHeight, float SpeedX, float SpeedY, float LoopTime)
void Destroy (void)
void Update (float DeltaTime)
bool OutOfBounds (void)
int GetPositionX (void)
int GetPositionY (void)
void SetSpeed (float SpeedX, float SpeedY)

Private Attributes

int m_SpriteWidth
int m_SpriteHeight
float m_SpeedX
float m_SpeedY
float m_LoopTime
float m_RemainingLoopTime
bool m_Looping
float m_fPositionX
float m_fPositionY
int m_iPositionX
int m_iPositionY


Constructor & Destructor Documentation

CScroller::CScroller ( void   ) 

CScroller::~CScroller ( void   ) 


Member Function Documentation

void CScroller::Create ( int  PositionX,
int  PositionY,
int  SpriteWidth,
int  SpriteHeight,
float  SpeedX,
float  SpeedY,
float  LoopTime 
)

Here is the caller graph for this function:

void CScroller::Destroy ( void   ) 

Here is the caller graph for this function:

void CScroller::Update ( float  DeltaTime  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

bool CScroller::OutOfBounds ( void   ) 

Here is the caller graph for this function:

int CScroller::GetPositionX ( void   )  [inline]

Here is the caller graph for this function:

int CScroller::GetPositionY ( void   )  [inline]

Here is the caller graph for this function:

void CScroller::SetSpeed ( float  SpeedX,
float  SpeedY 
) [inline]


Member Data Documentation

int CScroller::m_SpriteWidth [private]

float CScroller::m_SpeedX [private]

float CScroller::m_SpeedY [private]

float CScroller::m_LoopTime [private]

bool CScroller::m_Looping [private]

float CScroller::m_fPositionX [private]

float CScroller::m_fPositionY [private]

int CScroller::m_iPositionX [private]

int CScroller::m_iPositionY [private]


The documentation for this class was generated from the following files:

Generated on Sat Oct 18 12:26:48 2008 for Bombermaaan by  doxygen 1.5.5
Visit the Bombermaaan project page
SourceForge.net Logo