C# Class _1942.OptionButton

Inheritance: BaseButton
Datei anzeigen Open project: Hoobler/Projekt1 Class Usage Examples

Public Methods

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

Method Details

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

GetRectangle() public method

public GetRectangle ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle

OptionButton() public method

public OptionButton ( 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
return System

SetTexture() public method

public SetTexture ( Microsoft.Xna.Framework.Graphics.Texture2D newtex ) : void
newtex Microsoft.Xna.Framework.Graphics.Texture2D
return void

Update() public method

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
return void