Property | Type | Description | |
---|---|---|---|
animation | Effect.AnimatedTexture | ||
destroyed | System.Boolean | ||
game | Microsoft.Xna.Framework.Game | ||
health | int | ||
level | |||
position | Vector2 | ||
radius | int | ||
velocity | Vector2 |
Method | Description | |
---|---|---|
Damage ( |
||
Destroy ( ) : void | ||
Enemy ( Microsoft.Xna.Framework.Game game, |
||
GetCenter ( ) : Vector2 | ||
GetCenterX ( ) : float | ||
GetCenterY ( ) : float | ||
Update ( float dt ) : void |
public Enemy ( Microsoft.Xna.Framework.Game game, |
||
game | Microsoft.Xna.Framework.Game | |
level | ||
x | int | |
radius | int | |
speedX | int | |
speedY | int | |
health | int | |
return | System |
public Game,Microsoft.Xna.Framework game | ||
return | Microsoft.Xna.Framework.Game |