Method | Description | |
---|---|---|
AddPlayerPosition ( Vector2 position ) : void | ||
Attacking ( |
||
Destroy ( ) : void | ||
Entering ( |
||
Fire ( System.TimeSpan elapsedTime ) : void | ||
GetPlayerPosition ( ) : Vector2 | ||
HunterEnemy ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int health ) : System | ||
HunterEnemy ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int health, Vector2 targetEntryPosition ) : System | ||
Leaving ( |
||
Update ( |
Updates this enemy instance
|
|
UpdateWeaponPositions ( ) : void |
Updates the position of each of the weapons so they stay in one place relative to the movement of this enemy instance
|
Method | Description | |
---|---|---|
Initialize ( Vector2 entryPosition ) : void |
public AddPlayerPosition ( Vector2 position ) : void | ||
position | Vector2 | |
return | void |
public Attacking ( |
||
gameTime | ||
return | bool |
public Entering ( |
||
gameTime | ||
return | bool |
public Fire ( System.TimeSpan elapsedTime ) : void | ||
elapsedTime | System.TimeSpan | |
return | void |
public HunterEnemy ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int health ) : System | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
health | int | |
return | System |
public HunterEnemy ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int health, Vector2 targetEntryPosition ) : System | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
health | int | |
targetEntryPosition | Vector2 | |
return | System |
public Leaving ( |
||
gameTime | ||
return | bool |
public Update ( |
||
gameTime | The time elapsed since the last update | |
return | void |