C# Class ServersideGameCode.Cityscape

Afficher le fichier Open project: moly/Flash-Gorillas-Online Class Usage Examples

Méthodes publiques

Méthode Description
BuildSkylines ( int numberOfSkylines ) : void
Cityscape ( ) : System
CreateSmallExplosion ( int x, int y ) : void
Draw ( Graphics g ) : void
IsColliding ( Point point ) : bool
NextCityscape ( ) : void
SetCityscape ( int cityscapeNumber ) : void

Private Methods

Méthode Description
DrawCircle ( int x, int y, int radius, Color colour ) : void
DrawWindLine ( ) : void
PlaceGorilla ( int playerNumber, List buildingCoordinates ) : Point
Plot4EllipsePoints ( int x, int y, int px, int py, Color colour ) : void
SetWindSpeed ( ) : int

Method Details

BuildSkylines() public méthode

public BuildSkylines ( int numberOfSkylines ) : void
numberOfSkylines int
Résultat void

Cityscape() public méthode

public Cityscape ( ) : System
Résultat System

CreateSmallExplosion() public méthode

public CreateSmallExplosion ( int x, int y ) : void
x int
y int
Résultat void

Draw() public méthode

public Draw ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

IsColliding() public méthode

public IsColliding ( Point point ) : bool
point Point
Résultat bool

NextCityscape() public méthode

public NextCityscape ( ) : void
Résultat void

SetCityscape() public méthode

public SetCityscape ( int cityscapeNumber ) : void
cityscapeNumber int
Résultat void