C# Class SunsetHigh.BraceFace

A character that encapsulates all the movement and attack logic for the mini-boss
Inheritance: Character
ファイルを表示 Open project: ErraticUnicorn/MOSH Class Usage Examples

Public Methods

Method 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

Method Description
braceBulletCollideEvent ( IInteractable collider ) : void

Method Details

BraceFace() public method

public BraceFace ( ) : System
return System

draw() public method

public draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

getHealth() public method

public getHealth ( ) : int
return int

loadContent() public method

public loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

onCollide() public method

public onCollide ( IInteractable other ) : void
other IInteractable
return void

reset() public method

public reset ( ) : void
return void

setAggressive() public method

public setAggressive ( bool aggressive ) : void
aggressive bool
return void

setHealth() public method

public setHealth ( int health ) : void
health int
return void

setHealthBarVisible() public method

public setHealthBarVisible ( bool visible ) : void
visible bool
return void

shiftHealth() public method

public shiftHealth ( int dhp ) : void
dhp int
return void

update() public method

public update ( float elapsed ) : void
elapsed float
return void