C# Class Project290.Games.Solitude.SolitudeObjects.Enemies.Sentinel

This enemy moves back and forth in set path or semi-random directions. If the player draws near, it attacks
Inheritance: Enemy
Show file Open project: scastle/Solitude

Public Methods

Method Description
Draw ( ) : void
Sentinel ( Vector2 position, Vector2 velocity, World w, int rate ) : System
Shoot ( ) : void
Update ( ) : void

Method Details

Draw() public method

public Draw ( ) : void
return void

Sentinel() public method

public Sentinel ( Vector2 position, Vector2 velocity, World w, int rate ) : System
position Vector2
velocity Vector2
w Project290.Physics.Dynamics.World
rate int
return System

Shoot() public method

public Shoot ( ) : void
return void

Update() public method

public Update ( ) : void
return void