Leistungsstarkes Game Framework
The game framework based on game framework by Woei Kae Chen
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
game_framework::CGameStateRun Class Reference

#include <mygame.h>

Inheritance diagram for game_framework::CGameStateRun:
game_framework::CGameState

Public Member Functions

 CGameStateRun (CGame *g)
 
 ~CGameStateRun ()
 
void OnBeginState ()
 
void OnInit ()
 
void OnKeyDown (UINT, UINT, UINT)
 
void OnKeyUp (UINT, UINT, UINT)
 
void OnLButtonDown (UINT nFlags, CPoint point)
 
void OnLButtonUp (UINT nFlags, CPoint point)
 
void OnMouseMove (UINT nFlags, CPoint point)
 
void OnRButtonDown (UINT nFlags, CPoint point)
 
void OnRButtonUp (UINT nFlags, CPoint point)
 
- Public Member Functions inherited from game_framework::CGameState
 CGameState (CGame *g)
 
void OnDraw ()
 
void OnCycle ()
 
virtual ~CGameState ()
 
virtual void OnBeginState ()
 
virtual void OnInit ()
 
virtual void OnKeyDown (UINT, UINT, UINT)
 
virtual void OnKeyUp (UINT, UINT, UINT)
 
virtual void OnLButtonDown (UINT nFlags, CPoint point)
 
virtual void OnLButtonUp (UINT nFlags, CPoint point)
 
virtual void OnMouseMove (UINT nFlags, CPoint point)
 
virtual void OnRButtonDown (UINT nFlags, CPoint point)
 
virtual void OnRButtonUp (UINT nFlags, CPoint point)
 

Protected Member Functions

void OnMove ()
 
void OnShow ()
 
- Protected Member Functions inherited from game_framework::CGameState
void GotoGameState (int state)
 
void ShowInitProgress (int percent, string message)
 
virtual void OnMove ()
 
virtual void OnShow ()=0
 

Additional Inherited Members

- Protected Attributes inherited from game_framework::CGameState
CGamegame
 
CMovingBitmap loadingBitmap
 

Constructor & Destructor Documentation

◆ CGameStateRun()

CGameStateRun::CGameStateRun ( CGame g)

◆ ~CGameStateRun()

CGameStateRun::~CGameStateRun ( )

Member Function Documentation

◆ OnBeginState()

void CGameStateRun::OnBeginState ( )
virtual

Reimplemented from game_framework::CGameState.

◆ OnInit()

void CGameStateRun::OnInit ( )
virtual

Reimplemented from game_framework::CGameState.

◆ OnKeyDown()

void CGameStateRun::OnKeyDown ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
)
virtual

Reimplemented from game_framework::CGameState.

◆ OnKeyUp()

void CGameStateRun::OnKeyUp ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
)
virtual

Reimplemented from game_framework::CGameState.

◆ OnLButtonDown()

void CGameStateRun::OnLButtonDown ( UINT  nFlags,
CPoint  point 
)
virtual

Reimplemented from game_framework::CGameState.

◆ OnLButtonUp()

void CGameStateRun::OnLButtonUp ( UINT  nFlags,
CPoint  point 
)
virtual

Reimplemented from game_framework::CGameState.

◆ OnMouseMove()

void CGameStateRun::OnMouseMove ( UINT  nFlags,
CPoint  point 
)
virtual

Reimplemented from game_framework::CGameState.

◆ OnMove()

void CGameStateRun::OnMove ( )
protectedvirtual

Reimplemented from game_framework::CGameState.

◆ OnRButtonDown()

void CGameStateRun::OnRButtonDown ( UINT  nFlags,
CPoint  point 
)
virtual

Reimplemented from game_framework::CGameState.

◆ OnRButtonUp()

void CGameStateRun::OnRButtonUp ( UINT  nFlags,
CPoint  point 
)
virtual

Reimplemented from game_framework::CGameState.

◆ OnShow()

void CGameStateRun::OnShow ( )
protectedvirtual

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