C# Class FlyingKite.EntitiesFactory

Afficher le fichier Open project: WaveEngine/QuickStarters

Méthodes publiques

Méthode Description
CreateBestScore ( int y, int score ) : StackPanel

Creates a new BestScore panel.

CreateCurrentScore ( int y, int width ) : TextBlock

Creates a new CurrentScore TextBlock.

CreatePlayButton ( float x, float y ) : Button

Creates a new play button.

Method Details

CreateBestScore() public static méthode

Creates a new BestScore panel.
public static CreateBestScore ( int y, int score ) : StackPanel
y int The y of the new element.
score int The score of the new element.
Résultat WaveEngine.Components.UI.StackPanel

CreateCurrentScore() public static méthode

Creates a new CurrentScore TextBlock.
public static CreateCurrentScore ( int y, int width ) : TextBlock
y int The y of the new element.
width int
Résultat WaveEngine.Components.UI.TextBlock

CreatePlayButton() public static méthode

Creates a new play button.
public static CreatePlayButton ( float x, float y ) : Button
x float The x of the new button.
y float The y of the new button.
Résultat WaveEngine.Components.UI.Button