C# 클래스 Bug.Display.CharacterButton

상속: Button
파일 보기 프로젝트 열기: Projectfights/Fight-insect 1 사용 예제들

공개 메소드들

메소드 설명
CharacterButton ( int x, int y, AnimatedTexture2D anim_, Microsoft.Xna.Framework.Graphics.Texture2D up, Microsoft.Xna.Framework.Graphics.Texture2D down ) : Bug.Utils
Collide ( int pointX, int pointY ) : bool
Draw ( SpriteBatch batch ) : void

메소드 상세

CharacterButton() 공개 메소드

public CharacterButton ( int x, int y, AnimatedTexture2D anim_, Microsoft.Xna.Framework.Graphics.Texture2D up, Microsoft.Xna.Framework.Graphics.Texture2D down ) : Bug.Utils
x int
y int
anim_ Bug.Utils.AnimatedTexture2D
up Microsoft.Xna.Framework.Graphics.Texture2D
down Microsoft.Xna.Framework.Graphics.Texture2D
리턴 Bug.Utils

Collide() 공개 메소드

public Collide ( int pointX, int pointY ) : bool
pointX int
pointY int
리턴 bool

Draw() 공개 메소드

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