C# Class SunsetHigh.DialogPanel

Inheritance: ListPanel, IMessagePanel
Mostrar archivo Open project: ErraticUnicorn/MOSH Class Usage Examples

Public Methods

Method Description
DialogPanel ( ) : System
DialogPanel ( int x, int y, int width, int height ) : System
DialogPanel ( int x, int y, int width, int height, string message ) : System
draw ( SpriteBatch sb ) : void
getMessage ( ) : string
getMessageColor ( ) : Color
getRefreshMessage ( ) : string
loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
onRefocus ( ) : void
setMessage ( string message ) : void
setMessageColor ( Color color ) : void
setRefreshMessage ( string message ) : void
setYDivider ( int y ) : void
update ( float elapsed ) : void

Private Methods

Method Description
adjustDialogDimensions ( ) : void

Method Details

DialogPanel() public method

public DialogPanel ( ) : System
return System

DialogPanel() public method

public DialogPanel ( int x, int y, int width, int height ) : System
x int
y int
width int
height int
return System

DialogPanel() public method

public DialogPanel ( int x, int y, int width, int height, string message ) : System
x int
y int
width int
height int
message string
return System

draw() public method

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

getMessage() public method

public getMessage ( ) : string
return string

getMessageColor() public method

public getMessageColor ( ) : Color
return Color

getRefreshMessage() public method

public getRefreshMessage ( ) : string
return string

loadContent() public method

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

onRefocus() public method

public onRefocus ( ) : void
return void

setMessage() public method

public setMessage ( string message ) : void
message string
return void

setMessageColor() public method

public setMessageColor ( Color color ) : void
color Color
return void

setRefreshMessage() public method

public setRefreshMessage ( string message ) : void
message string
return void

setYDivider() public method

public setYDivider ( int y ) : void
y int
return void

update() public method

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