C# Class Bug.Display.CharacterButton

Inheritance: Button
Afficher le fichier Open project: Projectfights/Fight-insect Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

CharacterButton() public méthode

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
Résultat Bug.Utils

Collide() public méthode

public Collide ( int pointX, int pointY ) : bool
pointX int
pointY int
Résultat bool

Draw() public méthode

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