C# Class PGCGame.Ships.Enemies.BaseEnemyShip

Inheritance: Ship
Mostra 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_oe property

protected bool _EMPable
return bool

_isTrackingPlayer protected_oe property

protected bool _isTrackingPlayer
return bool

closestAllyShipDistance protected_oe property

protected Vector2? closestAllyShipDistance
return Vector2?

isEMPed public_oe property

public Boolean,System isEMPed
return System.Boolean

killWorth public_oe property

public int killWorth
return int

spaceBucksKillAmt public_oe property

public int spaceBucksKillAmt
return int