C# Class PGCGame.Ships.Enemies.BaseEnemyShip

Inheritance: Ship
Afficher le fichier Open project: GreatMindsRobotics/PGCGame

Méthodes publiques

Свойство Type Description
isEMPed System.Boolean
killWorth int
spaceBucksKillAmt int

Protected Properties

Свойство Type Description
_EMPable bool
_isTrackingPlayer bool
closestAllyShipDistance Vector2?

Méthodes publiques

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

Method Details

BaseEnemyShip() public méthode

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

CreateRandomEnemy() public static méthode

public static CreateRandomEnemy ( SpriteBatch spawn ) : BaseEnemyShip
spawn Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat BaseEnemyShip

Shoot() public méthode

public Shoot ( ) : void
Résultat void

Update() public méthode

public Update ( GameTime gt ) : void
gt GameTime
Résultat void

Property Details

_EMPable protected_oe property

protected bool _EMPable
Résultat bool

_isTrackingPlayer protected_oe property

protected bool _isTrackingPlayer
Résultat bool

closestAllyShipDistance protected_oe property

protected Vector2? closestAllyShipDistance
Résultat Vector2?

isEMPed public_oe property

public Boolean,System isEMPed
Résultat System.Boolean

killWorth public_oe property

public int killWorth
Résultat int

spaceBucksKillAmt public_oe property

public int spaceBucksKillAmt
Résultat int