C# Class DodongosQuest.Screens.Gameplay.SpellBook

ファイルを表示 Open project: faintpixel/Roguelike Class Usage Examples

Public Methods

Method 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 method

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

GetSpellAt() public method

public GetSpellAt ( Vector2 pos ) : int
pos Vector2
return int

IntersectsWith() public method

public IntersectsWith ( Vector2 position ) : bool
position Vector2
return bool

SpellBook() public method

public SpellBook ( Vector2 position, List playerSpells ) : System
position Vector2
playerSpells List
return System

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void