C# Class ZombieShooter.Enemy

Inheritance: Obj
ファイルを表示 Open project: Spectrewiz/Zombie-Shooter Class Usage Examples

Public Methods

Method Description
Enemy ( Vector2 position ) : System
IncrementTimers ( ) : void
PushTo ( Vector2 velocity, float direction ) : void
Update ( ) : void
findPath ( ) : void
tryToHitPlayer ( ) : void

Private Methods

Method Description
moveToDest ( ) : void
setPath ( ) : void
stepToPoint ( Point point ) : bool

Method Details

Enemy() public method

public Enemy ( Vector2 position ) : System
position Vector2
return System

IncrementTimers() public method

public IncrementTimers ( ) : void
return void

PushTo() public method

public PushTo ( Vector2 velocity, float direction ) : void
velocity Vector2
direction float
return void

Update() public method

public Update ( ) : void
return void

findPath() public method

public findPath ( ) : void
return void

tryToHitPlayer() public method

public tryToHitPlayer ( ) : void
return void