C# 클래스 u2048.Game

파일 보기 프로젝트 열기: jakowskidev/u2048_Jakowski 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
bRender System.Boolean
kTOP System.Boolean

공개 메소드들

메소드 설명
Draw ( Graphics g ) : void
DrawAbout ( Graphics g ) : void
DrawGame ( Graphics g ) : void
DrawTextCenterWS ( Graphics g, String sText, Font nFont, SolidBrush nSolidBrush, SolidBrush nSolidBrush2, int X, int Y ) : void
DrawTextCenterX ( Graphics g, String sText, Font nFont, SolidBrush nSolidBrush, int X, int Y ) : void
DrawTextCenterXWS ( Graphics g, String sText, Font nFont, SolidBrush nSolidBrush, SolidBrush nSolidBrush2, int X, int Y ) : void
Game ( ) : System
GameOverDraw ( Graphics g ) : void
Update ( ) : void
actionButton ( int iButtonID ) : void
checkButton ( int nXPos, int nYPos ) : void
checkGameOver ( ) : void
getBitmapID ( int iNum ) : int
moveBoard ( Direction nDirection ) : void

비공개 메소드들

메소드 설명
resetGameData ( ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( Graphics g ) : void
g System.Drawing.Graphics
리턴 void

DrawAbout() 공개 메소드

public DrawAbout ( Graphics g ) : void
g System.Drawing.Graphics
리턴 void

DrawGame() 공개 메소드

public DrawGame ( Graphics g ) : void
g System.Drawing.Graphics
리턴 void

DrawTextCenterWS() 공개 메소드

public DrawTextCenterWS ( Graphics g, String sText, Font nFont, SolidBrush nSolidBrush, SolidBrush nSolidBrush2, int X, int Y ) : void
g System.Drawing.Graphics
sText String
nFont System.Drawing.Font
nSolidBrush System.Drawing.SolidBrush
nSolidBrush2 System.Drawing.SolidBrush
X int
Y int
리턴 void

DrawTextCenterX() 공개 메소드

public DrawTextCenterX ( Graphics g, String sText, Font nFont, SolidBrush nSolidBrush, int X, int Y ) : void
g System.Drawing.Graphics
sText String
nFont System.Drawing.Font
nSolidBrush System.Drawing.SolidBrush
X int
Y int
리턴 void

DrawTextCenterXWS() 공개 메소드

public DrawTextCenterXWS ( Graphics g, String sText, Font nFont, SolidBrush nSolidBrush, SolidBrush nSolidBrush2, int X, int Y ) : void
g System.Drawing.Graphics
sText String
nFont System.Drawing.Font
nSolidBrush System.Drawing.SolidBrush
nSolidBrush2 System.Drawing.SolidBrush
X int
Y int
리턴 void

Game() 공개 메소드

public Game ( ) : System
리턴 System

GameOverDraw() 공개 메소드

public GameOverDraw ( Graphics g ) : void
g System.Drawing.Graphics
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

actionButton() 공개 메소드

public actionButton ( int iButtonID ) : void
iButtonID int
리턴 void

checkButton() 공개 메소드

public checkButton ( int nXPos, int nYPos ) : void
nXPos int
nYPos int
리턴 void

checkGameOver() 공개 메소드

public checkGameOver ( ) : void
리턴 void

getBitmapID() 공개 메소드

public getBitmapID ( int iNum ) : int
iNum int
리턴 int

moveBoard() 공개 메소드

public moveBoard ( Direction nDirection ) : void
nDirection Direction
리턴 void

프로퍼티 상세

bRender 공개적으로 프로퍼티

public Boolean,System bRender
리턴 System.Boolean

kTOP 공개적으로 프로퍼티

public Boolean,System kTOP
리턴 System.Boolean