C# 클래스 _1942.OptionButton

상속: BaseButton
파일 보기 프로젝트 열기: Hoobler/Projekt1 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Draw() 공개 메소드

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

GetRectangle() 공개 메소드

public GetRectangle ( ) : Rectangle
리턴 Microsoft.Xna.Framework.Rectangle

OptionButton() 공개 메소드

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
리턴 System

SetTexture() 공개 메소드

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

Update() 공개 메소드

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
리턴 void