C# 클래스 WpfApplication7.Game

파일 보기 프로젝트 열기: NCCUCS-Windows-Programming/SpaceWar 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GamePlay bool

공개 메소드들

메소드 설명
CreateMainTower ( int posX, int posY, int num ) : void
CreateMap ( ) : void
CreateObstacle ( int posX, int posY, BitmapImage star ) : void
CreatePlayer ( ) : void
CreateTower ( int posX, int posY, float startTime, int num ) : void
Game ( MainWindow window, int PlayerAmount ) : System
Map_Update ( int row, int col ) : void
Start ( ) : void
Update ( object sender, EventArgs e ) : void

메소드 상세

CreateMainTower() 공개 메소드

public CreateMainTower ( int posX, int posY, int num ) : void
posX int
posY int
num int
리턴 void

CreateMap() 공개 메소드

public CreateMap ( ) : void
리턴 void

CreateObstacle() 공개 메소드

public CreateObstacle ( int posX, int posY, BitmapImage star ) : void
posX int
posY int
star System.Windows.Media.Imaging.BitmapImage
리턴 void

CreatePlayer() 공개 메소드

public CreatePlayer ( ) : void
리턴 void

CreateTower() 공개 메소드

public CreateTower ( int posX, int posY, float startTime, int num ) : void
posX int
posY int
startTime float
num int
리턴 void

Game() 공개 메소드

public Game ( MainWindow window, int PlayerAmount ) : System
window MainWindow
PlayerAmount int
리턴 System

Map_Update() 공개 메소드

public Map_Update ( int row, int col ) : void
row int
col int
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

프로퍼티 상세

GamePlay 공개적으로 프로퍼티

public bool GamePlay
리턴 bool