C# Class SunsetHigh.BraceFace

A character that encapsulates all the movement and attack logic for the mini-boss
Inheritance: Character
Afficher le fichier Open project: ErraticUnicorn/MOSH Class Usage Examples

Méthodes publiques

Méthode Description
BraceFace ( ) : System
draw ( SpriteBatch sb ) : void
getHealth ( ) : int
loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
onCollide ( IInteractable other ) : void
reset ( ) : void
setAggressive ( bool aggressive ) : void
setHealth ( int health ) : void
setHealthBarVisible ( bool visible ) : void
shiftHealth ( int dhp ) : void
update ( float elapsed ) : void

Private Methods

Méthode Description
braceBulletCollideEvent ( IInteractable collider ) : void

Method Details

BraceFace() public méthode

public BraceFace ( ) : System
Résultat System

draw() public méthode

public draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

getHealth() public méthode

public getHealth ( ) : int
Résultat int

loadContent() public méthode

public loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Résultat void

onCollide() public méthode

public onCollide ( IInteractable other ) : void
other IInteractable
Résultat void

reset() public méthode

public reset ( ) : void
Résultat void

setAggressive() public méthode

public setAggressive ( bool aggressive ) : void
aggressive bool
Résultat void

setHealth() public méthode

public setHealth ( int health ) : void
health int
Résultat void

setHealthBarVisible() public méthode

public setHealthBarVisible ( bool visible ) : void
visible bool
Résultat void

shiftHealth() public méthode

public shiftHealth ( int dhp ) : void
dhp int
Résultat void

update() public méthode

public update ( float elapsed ) : void
elapsed float
Résultat void