C# Class PGCGame.Ships.Enemies.BaseEnemyShip

Inheritance: Ship
Show file Open project: GreatMindsRobotics/PGCGame

Public Properties

Property Type Description
isEMPed System.Boolean
killWorth int
spaceBucksKillAmt int

Protected Properties

Property Type Description
_EMPable bool
_isTrackingPlayer bool
closestAllyShipDistance Vector2?

Public Methods

Method Description
BaseEnemyShip ( Texture2D texture, Vector2 location, SpriteBatch spriteBatch ) : System
CreateRandomEnemy ( SpriteBatch spawn ) : BaseEnemyShip
Shoot ( ) : void
Update ( GameTime gt ) : void

Method Details

BaseEnemyShip() public method

public BaseEnemyShip ( Texture2D texture, Vector2 location, SpriteBatch spriteBatch ) : System
texture Texture2D
location Vector2
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return System

CreateRandomEnemy() public static method

public static CreateRandomEnemy ( SpriteBatch spawn ) : BaseEnemyShip
spawn Microsoft.Xna.Framework.Graphics.SpriteBatch
return BaseEnemyShip

Shoot() public method

public Shoot ( ) : void
return void

Update() public method

public Update ( GameTime gt ) : void
gt GameTime
return void

Property Details

_EMPable protected property

protected bool _EMPable
return bool

_isTrackingPlayer protected property

protected bool _isTrackingPlayer
return bool

closestAllyShipDistance protected property

protected Vector2? closestAllyShipDistance
return Vector2?

isEMPed public property

public Boolean,System isEMPed
return System.Boolean

killWorth public property

public int killWorth
return int

spaceBucksKillAmt public property

public int spaceBucksKillAmt
return int