C# 클래스 Gruppe22.Client.AbilityChoice

상속: Grid
파일 보기 프로젝트 열기: propra13-orga/gruppe22 1 사용 예제들

공개 메소드들

메소드 설명
AbilityChoice ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, Backend actor = null ) : System
DisplayToolTip ( int icon ) : void

Append a new line of text to the status box; word wrap if necessary

Draw ( GameTime gameTime ) : void

GenerateAbility ( int id ) : void
OnMouseDown ( int button ) : bool
Pos2Tile ( int x, int y ) : int

메소드 상세

AbilityChoice() 공개 메소드

public AbilityChoice ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, Backend actor = null ) : System
parent Backend
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
displayRect Microsoft.Xna.Framework.Rectangle
actor Backend
리턴 System

DisplayToolTip() 공개 메소드

Append a new line of text to the status box; word wrap if necessary
public DisplayToolTip ( int icon ) : void
icon int
리턴 void

Draw() 공개 메소드

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

GenerateAbility() 공개 메소드

public GenerateAbility ( int id ) : void
id int
리턴 void

OnMouseDown() 공개 메소드

public OnMouseDown ( int button ) : bool
button int
리턴 bool

Pos2Tile() 공개 메소드

public Pos2Tile ( int x, int y ) : int
x int
y int
리턴 int