C# Class SunsetHigh.Hero.DialoguePanel

Class to handle the dialogue box/moving through the line tree, etc.
Inheritance: ListPanel
Show file Open project: ErraticUnicorn/MOSH

Public Properties

Property Type Description
end bool
selfTalking bool
talking bool

Public Methods

Method Description
DialoguePanel ( ) : System
draw ( SpriteBatch sb ) : void
loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
loadInteraction ( Character c ) : void
loadSelfThought ( string str ) : void
onConfirm ( ) : void
onMoveCursor ( Direction dir ) : void
update ( float elapsed ) : void

Private Methods

Method Description
gameStateUpdateHelper ( InteractionTreeNode node ) : void
renewPanelContent ( ) : string

Method Details

DialoguePanel() public method

public DialoguePanel ( ) : System
return System

draw() public method

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

loadContent() public method

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

loadInteraction() public method

public loadInteraction ( Character c ) : void
c Character
return void

loadSelfThought() public method

public loadSelfThought ( string str ) : void
str string
return void

onConfirm() public method

public onConfirm ( ) : void
return void

onMoveCursor() public method

public onMoveCursor ( Direction dir ) : void
dir Direction
return void

update() public method

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

Property Details

end public property

public bool end
return bool

selfTalking public property

public bool selfTalking
return bool

talking public property

public bool talking
return bool