C# Class Danmaku_no_Kyojin.Entities.Boss.BossPart

Inheritance: System.Entity, ICloneable
Afficher le fichier Open project: Noxalus/Danmaku-no-Kyojin Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
LoadContent ( ) : void

Private Methods

Méthode 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 méthode

public ApplyAngularImpulse ( float force ) : void
force float
Résultat void

ApplyImpulse() public méthode

public ApplyImpulse ( Vector2 direction, Vector2 acceleration ) : void
direction Vector2
acceleration Vector2
Résultat void

BossPart() public méthode

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
Résultat System

Clone() public méthode

public Clone ( ) : object
Résultat object

DestroyTurret() public méthode

public DestroyTurret ( Turret turret, BaseBullet bullet ) : void
turret Turret
bullet BaseBullet
Résultat void

DisplayHpSwitch() public méthode

public DisplayHpSwitch ( ) : void
Résultat void

Draw() public méthode

public Draw ( GameTime gameTime, Matrix viewMatrix ) : void
gameTime Microsoft.Xna.Framework.GameTime
viewMatrix Matrix
Résultat void

GenerateStructure() public méthode

public GenerateStructure ( ) : void
Résultat void

GetArea() public méthode

public GetArea ( ) : float
Résultat float

GetTurrets() public méthode

public GetTurrets ( ) : List
Résultat List

Initialize() public méthode

public Initialize ( ) : void
Résultat void

Intersects() public méthode

public Intersects ( System.Entity entity ) : bool
entity System.Entity
Résultat bool

IterateStructure() public méthode

public IterateStructure ( int iterationNumber = 1 ) : void
iterationNumber int
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

TakeDamage() public méthode

public TakeDamage ( float damage ) : void
damage float
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void