Свойство | Type | Description | |
---|---|---|---|
gold | int | ||
tnl | int |
Méthode | Description | |
---|---|---|
Draw ( |
Allows the game component to draw itself.
|
|
Hero ( |
||
Update ( |
||
checkDeath ( ) : void | ||
killGain ( int exp, int money ) : void | ||
levelup ( ) : void | ||
takeDmg ( int amount ) : void |
Méthode | Description | |
---|---|---|
ProcessKeyboardInput ( |
Processes the given input from keyboard.
|
|
ProcessMouseInput ( |
Processes the given input from mouse.
|
public Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
Résultat | void |
public Hero ( |
||
game | ||
gameState | ||
position | Vector3 | |
Résultat | System |
protected abstract ProcessKeyboardInput ( |
||
gameTime | ||
Résultat | void |
protected abstract ProcessMouseInput ( |
||
gameTime | ||
Résultat | void |
public Update ( |
||
gameTime | ||
Résultat | void |
public abstract killGain ( int exp, int money ) : void | ||
exp | int | |
money | int | |
Résultat | void |
public abstract takeDmg ( int amount ) : void | ||
amount | int | |
Résultat | void |