Метод | Описание | |
---|---|---|
AddSpell ( Vector3 pos, Spells s, Vector3 target ) : void | ||
Draw ( |
||
GetManaCost ( Spells spellType ) : int | ||
GetSpellDescription ( Spells spellType ) : string | ||
GetSpellPrice ( Spells spellType ) : int | ||
Initialize ( ) : void |
Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
|
|
LearnSpell ( |
||
LoadSpells ( ) : void | ||
NextLevel ( ) : void | ||
ResetAfterGameOver ( ) : void | ||
SpellHandler ( Microsoft.Xna.Framework.Game game ) : System | ||
Update ( |
Allows the game component to update itself.
|
Метод | Описание | |
---|---|---|
LoadContent ( ) : void |
public AddSpell ( Vector3 pos, Spells s, Vector3 target ) : void | ||
pos | Vector3 | |
s | Spells | |
target | Vector3 | |
Результат | void |
public Draw ( |
||
gameTime | ||
Результат | void |
public GetManaCost ( Spells spellType ) : int | ||
spellType | Spells | |
Результат | int |
public GetSpellDescription ( Spells spellType ) : string | ||
spellType | Spells | |
Результат | string |
public GetSpellPrice ( Spells spellType ) : int | ||
spellType | Spells | |
Результат | int |
public LearnSpell ( |
||
learn | ||
Результат | void |
public SpellHandler ( Microsoft.Xna.Framework.Game game ) : System | ||
game | Microsoft.Xna.Framework.Game | |
Результат | System |
public Update ( |
||
gameTime | Provides a snapshot of timing values. | |
thumbSticksRightX | float | |
Результат | void |