C# Class OurSonic.SonicEngine

显示文件 Open project: OurSonic/OurSonicSharp Class Usage Examples

Public Properties

Property Type Description
canvasHeight int
canvasWidth int
client SocketIOWebLibrary.SocketIOClient
sonicManager SonicManager

Private Properties

Property Type Description
bindInput void
canvasMouseMove void
canvasMouseUp void
canvasOnClick void
handleScroll void

Public Methods

Method Description
Clear ( CanvasInformation canv ) : void
GameDraw ( ) : void
RunSonic ( SLData level ) : void
SonicEngine ( ) : System
UIDraw ( ) : void
resizeCanvas ( bool resetOverride ) : void
runGame ( ) : void

Private Methods

Method Description
bindInput ( ) : void
canvasMouseMove ( jQueryApi.jQueryEvent queryEvent ) : void
canvasMouseUp ( jQueryApi.jQueryEvent queryEvent ) : void
canvasOnClick ( jQueryApi.jQueryEvent queryEvent ) : void
handleScroll ( jQueryApi.jQueryEvent jQueryEvent ) : void

Method Details

Clear() public method

public Clear ( CanvasInformation canv ) : void
canv OurSonic.Utility.CanvasInformation
return void

GameDraw() public method

public GameDraw ( ) : void
return void

RunSonic() public method

public RunSonic ( SLData level ) : void
level OurSonicModels.SLData
return void

SonicEngine() public method

public SonicEngine ( ) : System
return System

UIDraw() public method

public UIDraw ( ) : void
return void

resizeCanvas() public method

public resizeCanvas ( bool resetOverride ) : void
resetOverride bool
return void

runGame() public static method

public static runGame ( ) : void
return void

Property Details

canvasHeight public_oe property

public int canvasHeight
return int

canvasWidth public_oe property

public int canvasWidth
return int

client public_oe property

public SocketIOClient,SocketIOWebLibrary client
return SocketIOWebLibrary.SocketIOClient

sonicManager public_oe property

public SonicManager,OurSonic sonicManager
return SonicManager