C# Class FlyingKite.EntitiesFactory

Mostrar archivo Open project: WaveEngine/QuickStarters

Public Methods

Method 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 method

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.
return WaveEngine.Components.UI.StackPanel

CreateCurrentScore() public static method

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

CreatePlayButton() public static method

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.
return WaveEngine.Components.UI.Button