C# Class PGCGame.Ships.Allies.BaseAllyShip

Inheritance: Ship
Afficher le fichier Open project: GreatMindsRobotics/PGCGame Class Usage Examples

Méthodes publiques

Свойство Type Description
ActiveSecondaryWeapons List
Controller Microsoft.Xna.Framework.Net.NetworkGamer
SecondaryWeaponIndex SecondaryWeaponType
_SecondaryWeaponType SecondaryWeaponType

Protected Properties

Свойство Type Description
_cost int>.Dictionary
_isPlayerShip bool
_rotateTowardMouse bool
_worldPos Vector2

Méthodes publiques

Méthode Description
ActiveSecondaryWeapon_Killed ( object sender, EventArgs e ) : void
CreateShip ( ShipStats stats, SpriteBatch sb ) : BaseAllyShip
CreateShip ( ShipStats stats, SpriteBatch sb, bool isAlly ) : BaseAllyShip
CreateShip ( ShipType type, ShipTier tier, SpriteBatch spawnSpriteBatch, System.Boolean isAllyShip ) : BaseAllyShip
CreateShip ( ShipType type, SpriteBatch sb ) : BaseAllyShip
CreateShip ( ShipType type, SpriteBatch sb, bool isAlly ) : BaseAllyShip
DebugControlManager_ShipHeal ( object sender, EventArgs e ) : void
DebugControlManager_ShipSuicide ( object sender, EventArgs e ) : void
ShrinkRayShoot ( ShrinkRay bulletShooter ) : void
Update ( GameTime gt ) : void

Méthodes protégées

Méthode Description
BaseAllyShip ( Texture2D texture, Vector2 location, SpriteBatch spriteBatch, bool isAlly ) : System

Private Methods

Méthode Description
BaseAllyShip ( ) : System

Method Details

ActiveSecondaryWeapon_Killed() public méthode

public ActiveSecondaryWeapon_Killed ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

BaseAllyShip() protected méthode

protected BaseAllyShip ( Texture2D texture, Vector2 location, SpriteBatch spriteBatch, bool isAlly ) : System
texture Texture2D
location Vector2
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
isAlly bool
Résultat System

CreateShip() public static méthode

public static CreateShip ( ShipStats stats, SpriteBatch sb ) : BaseAllyShip
stats PGCGame.CoreTypes.ShipStats
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat BaseAllyShip

CreateShip() public static méthode

public static CreateShip ( ShipStats stats, SpriteBatch sb, bool isAlly ) : BaseAllyShip
stats PGCGame.CoreTypes.ShipStats
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
isAlly bool
Résultat BaseAllyShip

CreateShip() public static méthode

public static CreateShip ( ShipType type, ShipTier tier, SpriteBatch spawnSpriteBatch, System.Boolean isAllyShip ) : BaseAllyShip
type ShipType
tier ShipTier
spawnSpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
isAllyShip System.Boolean
Résultat BaseAllyShip

CreateShip() public static méthode

public static CreateShip ( ShipType type, SpriteBatch sb ) : BaseAllyShip
type ShipType
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat BaseAllyShip

CreateShip() public static méthode

public static CreateShip ( ShipType type, SpriteBatch sb, bool isAlly ) : BaseAllyShip
type ShipType
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
isAlly bool
Résultat BaseAllyShip

DebugControlManager_ShipHeal() public méthode

public DebugControlManager_ShipHeal ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

DebugControlManager_ShipSuicide() public méthode

public DebugControlManager_ShipSuicide ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

ShrinkRayShoot() public méthode

public ShrinkRayShoot ( ShrinkRay bulletShooter ) : void
bulletShooter ShrinkRay
Résultat void

Update() public méthode

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

Property Details

ActiveSecondaryWeapons public_oe property

public List ActiveSecondaryWeapons
Résultat List

Controller public_oe property

public NetworkGamer,Microsoft.Xna.Framework.Net Controller
Résultat Microsoft.Xna.Framework.Net.NetworkGamer

SecondaryWeaponIndex public_oe property

public SecondaryWeaponType SecondaryWeaponIndex
Résultat SecondaryWeaponType

_SecondaryWeaponType public_oe property

public SecondaryWeaponType _SecondaryWeaponType
Résultat SecondaryWeaponType

_cost protected_oe static_oe property

protected static Dictionary _cost
Résultat int>.Dictionary

_isPlayerShip protected_oe property

protected bool _isPlayerShip
Résultat bool

_rotateTowardMouse protected_oe property

protected bool _rotateTowardMouse
Résultat bool

_worldPos protected_oe property

protected Vector2 _worldPos
Résultat Vector2