메소드 | 설명 | |
---|---|---|
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 TrapTile ( object parent, int dmg ) : System | ||
parent | object | The parent |
dmg | int | The damage the trap will deal |
리턴 | System |