C# Class WpfApplication7.Game

Afficher le fichier Open project: NCCUCS-Windows-Programming/SpaceWar Class Usage Examples

Méthodes publiques

Свойство Type Description
GamePlay bool

Méthodes publiques

Méthode Description
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

Method Details

CreateMainTower() public méthode

public CreateMainTower ( int posX, int posY, int num ) : void
posX int
posY int
num int
Résultat void

CreateMap() public méthode

public CreateMap ( ) : void
Résultat void

CreateObstacle() public méthode

public CreateObstacle ( int posX, int posY, BitmapImage star ) : void
posX int
posY int
star System.Windows.Media.Imaging.BitmapImage
Résultat void

CreatePlayer() public méthode

public CreatePlayer ( ) : void
Résultat void

CreateTower() public méthode

public CreateTower ( int posX, int posY, float startTime, int num ) : void
posX int
posY int
startTime float
num int
Résultat void

Game() public méthode

public Game ( MainWindow window, int PlayerAmount ) : System
window MainWindow
PlayerAmount int
Résultat System

Map_Update() public méthode

public Map_Update ( int row, int col ) : void
row int
col int
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

GamePlay public_oe property

public bool GamePlay
Résultat bool