C# Class DemoLib.Demo

Inheritance: Me.Amon.Pwd.E.APwdAction
Mostrar archivo Open project: mono/DemoLib Class Usage Examples

Public Methods

Method Description
AddScene ( Scene scene ) : void
Demo ( ) : System
Init ( string title ) : void
Init ( string title, int width, int height ) : void
Init ( string title, int width, int height, bool fullscreen ) : void
Run ( ) : void
Run ( bool loop ) : void

Private Methods

Method Description
Display ( ) : void
FramesElapsed ( ) : int
Idle ( ) : void
Keyboard ( byte c, int x, int y ) : void
RenderFPS ( ) : void
Reshape ( int width, int height ) : void
SetGLCallbacks ( ) : void
SetGLDefaults ( ) : void
Special ( int c, int x, int y ) : void

Method Details

AddScene() public method

public AddScene ( Scene scene ) : void
scene Scene
return void

Demo() public method

public Demo ( ) : System
return System

Init() public method

public Init ( string title ) : void
title string
return void

Init() public method

public Init ( string title, int width, int height ) : void
title string
width int
height int
return void

Init() public method

public Init ( string title, int width, int height, bool fullscreen ) : void
title string
width int
height int
fullscreen bool
return void

Run() public method

public Run ( ) : void
return void

Run() public method

public Run ( bool loop ) : void
loop bool
return void