C# Class _1942.StartGameButton

Inheritance: BaseButton
Afficher le fichier Open project: Hoobler/Projekt1 Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch ) : void
GetRectangle ( ) : Rectangle
SetTexture ( Microsoft.Xna.Framework.Graphics.Texture2D newtex ) : void
StartGameButton ( Microsoft.Xna.Framework.Graphics.Texture2D texture_StartGame, Vector2 position, int rectangle_Size_Height, int rectangle_Size_width ) : System
Update ( Vector2 button_position, int rectangle_Size_Height, int rectangle_Size_width ) : void

Method Details

Draw() public méthode

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

GetRectangle() public méthode

public GetRectangle ( ) : Rectangle
Résultat Microsoft.Xna.Framework.Rectangle

SetTexture() public méthode

public SetTexture ( Microsoft.Xna.Framework.Graphics.Texture2D newtex ) : void
newtex Microsoft.Xna.Framework.Graphics.Texture2D
Résultat void

StartGameButton() public méthode

public StartGameButton ( Microsoft.Xna.Framework.Graphics.Texture2D texture_StartGame, Vector2 position, int rectangle_Size_Height, int rectangle_Size_width ) : System
texture_StartGame Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
rectangle_Size_Height int
rectangle_Size_width int
Résultat System

Update() public méthode

public Update ( Vector2 button_position, int rectangle_Size_Height, int rectangle_Size_width ) : void
button_position Vector2
rectangle_Size_Height int
rectangle_Size_width int
Résultat void