C# Класс Danmaku_no_Kyojin.Entities.Boss.BossPart

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

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

Метод Описание
ApplyAngularImpulse ( float force ) : void
ApplyImpulse ( Vector2 direction, Vector2 acceleration ) : void
BossPart ( DnK gameRef, Boss bossRef, List playerList, MoverManager moverManager, List bulletPatterns, Color color, float initialHealth, int iteration = 50, float step = 25, List turrets = null, PolygonShape polygonShape = null, bool mainPart = false ) : System
Clone ( ) : object
DestroyTurret ( Turret turret, BaseBullet bullet ) : void
DisplayHpSwitch ( ) : void
Draw ( GameTime gameTime, Matrix viewMatrix ) : void
GenerateStructure ( ) : void
GetArea ( ) : float
GetTurrets ( ) : List
Initialize ( ) : void
Intersects ( System.Entity entity ) : bool
IterateStructure ( int iterationNumber = 1 ) : void
TakeDamage ( float damage ) : void
Update ( GameTime gameTime ) : void

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

Метод Описание
LoadContent ( ) : void

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

Метод Описание
AddBullet ( bool clear ) : void
ComputeCollisionBoxes ( ) : void
GenerateTurrets ( ) : void
HandleBehaviour ( GameTime gameTime ) : void
ParticleExplosion ( Vector2 position ) : void
Split ( CollisionConvexPolygon box ) : void

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

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

public ApplyAngularImpulse ( float force ) : void
force float
Результат void

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

public ApplyImpulse ( Vector2 direction, Vector2 acceleration ) : void
direction Vector2
acceleration Vector2
Результат void

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

public BossPart ( DnK gameRef, Boss bossRef, List playerList, MoverManager moverManager, List bulletPatterns, Color color, float initialHealth, int iteration = 50, float step = 25, List turrets = null, PolygonShape polygonShape = null, bool mainPart = false ) : System
gameRef DnK
bossRef Boss
playerList List
moverManager Danmaku_no_Kyojin.BulletEngine.MoverManager
bulletPatterns List
color Color
initialHealth float
iteration int
step float
turrets List
polygonShape Danmaku_no_Kyojin.Shapes.PolygonShape
mainPart bool
Результат System

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

public Clone ( ) : object
Результат object

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

public DestroyTurret ( Turret turret, BaseBullet bullet ) : void
turret Turret
bullet BaseBullet
Результат void

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

public DisplayHpSwitch ( ) : void
Результат void

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

public Draw ( GameTime gameTime, Matrix viewMatrix ) : void
gameTime Microsoft.Xna.Framework.GameTime
viewMatrix Matrix
Результат void

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

public GenerateStructure ( ) : void
Результат void

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

public GetArea ( ) : float
Результат float

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

public GetTurrets ( ) : List
Результат List

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

public Initialize ( ) : void
Результат void

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

public Intersects ( System.Entity entity ) : bool
entity System.Entity
Результат bool

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

public IterateStructure ( int iterationNumber = 1 ) : void
iterationNumber int
Результат void

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

protected LoadContent ( ) : void
Результат void

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

public TakeDamage ( float damage ) : void
damage float
Результат void

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

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void