C# Class Danmaku_no_Kyojin.Entities.Boss.BossPart

Inheritance: System.Entity, ICloneable
Show file Open project: Noxalus/Danmaku-no-Kyojin Class Usage Examples

Public Methods

Method Description
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

Protected Methods

Method Description
LoadContent ( ) : void

Private Methods

Method Description
AddBullet ( bool clear ) : void
ComputeCollisionBoxes ( ) : void
GenerateTurrets ( ) : void
HandleBehaviour ( GameTime gameTime ) : void
ParticleExplosion ( Vector2 position ) : void
Split ( CollisionConvexPolygon box ) : void

Method Details

ApplyAngularImpulse() public method

public ApplyAngularImpulse ( float force ) : void
force float
return void

ApplyImpulse() public method

public ApplyImpulse ( Vector2 direction, Vector2 acceleration ) : void
direction Vector2
acceleration Vector2
return void

BossPart() public method

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
return System

Clone() public method

public Clone ( ) : object
return object

DestroyTurret() public method

public DestroyTurret ( Turret turret, BaseBullet bullet ) : void
turret Turret
bullet BaseBullet
return void

DisplayHpSwitch() public method

public DisplayHpSwitch ( ) : void
return void

Draw() public method

public Draw ( GameTime gameTime, Matrix viewMatrix ) : void
gameTime Microsoft.Xna.Framework.GameTime
viewMatrix Matrix
return void

GenerateStructure() public method

public GenerateStructure ( ) : void
return void

GetArea() public method

public GetArea ( ) : float
return float

GetTurrets() public method

public GetTurrets ( ) : List
return List

Initialize() public method

public Initialize ( ) : void
return void

Intersects() public method

public Intersects ( System.Entity entity ) : bool
entity System.Entity
return bool

IterateStructure() public method

public IterateStructure ( int iterationNumber = 1 ) : void
iterationNumber int
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

TakeDamage() public method

public TakeDamage ( float damage ) : void
damage float
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void