C# Class CastleEscape.Enemy

Inheritance: IBattleCharacter
Mostra file Open project: Daminvar/CastleEscape Class Usage Examples

Public Methods

Method Description
Clone ( ) : Enemy
DrawForBattle ( SpriteBatch spriteBatch, int x, int y ) : void
Enemy ( Microsoft.Xna.Framework.Graphics.Texture2D tx ) : System
HealthAfterCombat ( IBattleCharacter player ) : int
IsDead ( ) : bool
ToString ( ) : string

Method Details

Clone() public method

public Clone ( ) : Enemy
return Enemy

DrawForBattle() public method

public DrawForBattle ( SpriteBatch spriteBatch, int x, int y ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
x int
y int
return void

Enemy() public method

public Enemy ( Microsoft.Xna.Framework.Graphics.Texture2D tx ) : System
tx Microsoft.Xna.Framework.Graphics.Texture2D
return System

HealthAfterCombat() public method

public HealthAfterCombat ( IBattleCharacter player ) : int
player IBattleCharacter
return int

IsDead() public method

public IsDead ( ) : bool
return bool

ToString() public method

public ToString ( ) : string
return string