C# Класс PGCGame.Ships.Allies.BaseAllyShip

Наследование: Ship
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ActiveSecondaryWeapons List
Controller Microsoft.Xna.Framework.Net.NetworkGamer
SecondaryWeaponIndex SecondaryWeaponType
_SecondaryWeaponType SecondaryWeaponType

Защищенные свойства (Protected)

Свойство Тип Описание
_cost int>.Dictionary
_isPlayerShip bool
_rotateTowardMouse bool
_worldPos Vector2

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
BaseAllyShip ( Texture2D texture, Vector2 location, SpriteBatch spriteBatch, bool isAlly ) : System

Приватные методы

Метод Описание
BaseAllyShip ( ) : System

Описание методов

ActiveSecondaryWeapon_Killed() публичный Метод

public ActiveSecondaryWeapon_Killed ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

BaseAllyShip() защищенный Метод

protected BaseAllyShip ( Texture2D texture, Vector2 location, SpriteBatch spriteBatch, bool isAlly ) : System
texture Texture2D
location Vector2
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
isAlly bool
Результат System

CreateShip() публичный статический Метод

public static CreateShip ( ShipStats stats, SpriteBatch sb ) : BaseAllyShip
stats PGCGame.CoreTypes.ShipStats
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Результат BaseAllyShip

CreateShip() публичный статический Метод

public static CreateShip ( ShipStats stats, SpriteBatch sb, bool isAlly ) : BaseAllyShip
stats PGCGame.CoreTypes.ShipStats
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
isAlly bool
Результат BaseAllyShip

CreateShip() публичный статический Метод

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
Результат BaseAllyShip

CreateShip() публичный статический Метод

public static CreateShip ( ShipType type, SpriteBatch sb ) : BaseAllyShip
type ShipType
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Результат BaseAllyShip

CreateShip() публичный статический Метод

public static CreateShip ( ShipType type, SpriteBatch sb, bool isAlly ) : BaseAllyShip
type ShipType
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
isAlly bool
Результат BaseAllyShip

DebugControlManager_ShipHeal() публичный Метод

public DebugControlManager_ShipHeal ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

DebugControlManager_ShipSuicide() публичный Метод

public DebugControlManager_ShipSuicide ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

ShrinkRayShoot() публичный Метод

public ShrinkRayShoot ( ShrinkRay bulletShooter ) : void
bulletShooter ShrinkRay
Результат void

Update() публичный Метод

public Update ( GameTime gt ) : void
gt GameTime
Результат void

Описание свойств

ActiveSecondaryWeapons публичное свойство

public List ActiveSecondaryWeapons
Результат List

Controller публичное свойство

public NetworkGamer,Microsoft.Xna.Framework.Net Controller
Результат Microsoft.Xna.Framework.Net.NetworkGamer

SecondaryWeaponIndex публичное свойство

public SecondaryWeaponType SecondaryWeaponIndex
Результат SecondaryWeaponType

_SecondaryWeaponType публичное свойство

public SecondaryWeaponType _SecondaryWeaponType
Результат SecondaryWeaponType

_cost защищенное статическое свойство

protected static Dictionary _cost
Результат int>.Dictionary

_isPlayerShip защищенное свойство

protected bool _isPlayerShip
Результат bool

_rotateTowardMouse защищенное свойство

protected bool _rotateTowardMouse
Результат bool

_worldPos защищенное свойство

protected Vector2 _worldPos
Результат Vector2