C# Class Nez.UICanvas

simple component that houses a Stage and delegates update/render/debugRender calls
Inheritance: RenderableComponent, IUpdatable
Afficher le fichier Open project: prime31/Nez Class Usage Examples

Méthodes publiques

Свойство Type Description
stage Stage

Méthodes publiques

Méthode Description
UICanvas ( ) : System
debugRender ( Graphics graphics ) : void
onAddedToEntity ( ) : void
onRemovedFromEntity ( ) : void
render ( Graphics graphics, Camera camera ) : void
showDialog ( string title, string messageText, string closeButtonText ) : Dialog

displays a simple dialog with a button to close it

Private Methods

Méthode Description
IUpdatable ( ) : void

Method Details

UICanvas() public méthode

public UICanvas ( ) : System
Résultat System

debugRender() public méthode

public debugRender ( Graphics graphics ) : void
graphics Graphics
Résultat void

onAddedToEntity() public méthode

public onAddedToEntity ( ) : void
Résultat void

onRemovedFromEntity() public méthode

public onRemovedFromEntity ( ) : void
Résultat void

render() public méthode

public render ( Graphics graphics, Camera camera ) : void
graphics Graphics
camera Camera
Résultat void

showDialog() public méthode

displays a simple dialog with a button to close it
public showDialog ( string title, string messageText, string closeButtonText ) : Dialog
title string Title.
messageText string Message text.
closeButtonText string Close button text.
Résultat Nez.UI.Dialog

Property Details

stage public_oe property

public Stage stage
Résultat Stage