Метод | Описание | |
---|---|---|
Save ( |
||
TrapTile ( object parent, int dmg ) : System |
A Constructor setting the damage of the trap
|
|
Trigger ( ) : int |
A method to determine what happens to the trap after an actor entered the TrapTile.
|
|
Update ( Microsoft gameTime ) : void |
Update method for the trap. If the repeatTime passed since the last action the trap can again deal damage.
|
public Save ( |
||
xmlw | ||
Результат | void |
public TrapTile ( object parent, int dmg ) : System | ||
parent | object | The parent |
dmg | int | The damage the trap will deal |
Результат | System |
public Update ( Microsoft gameTime ) : void | ||
gameTime | Microsoft | |
Результат | void |