C# Class DodongosQuest.Screens.Gameplay.SpellBook

Afficher le fichier Open project: faintpixel/Roguelike Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void
GetSpellAt ( Vector2 pos ) : int
IntersectsWith ( Vector2 position ) : bool
SpellBook ( Vector2 position, List playerSpells ) : System
Update ( GameTime gameTime ) : void

Method Details

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

GetSpellAt() public méthode

public GetSpellAt ( Vector2 pos ) : int
pos Vector2
Résultat int

IntersectsWith() public méthode

public IntersectsWith ( Vector2 position ) : bool
position Vector2
Résultat bool

SpellBook() public méthode

public SpellBook ( Vector2 position, List playerSpells ) : System
position Vector2
playerSpells List
Résultat System

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void