C# Class Nomad.Game

Inheritance: System.Windows.Forms.ApplicationContext, IGame
Datei anzeigen Open project: Azerothian/fc3editor Class Usage Examples

Public Properties

Property Type Description
programGuid string

Public Methods

Method Description
EnableUICallback ( bool enable ) : void
Initialise ( ) : void
LoadCompletedCallback ( bool success ) : void
OnKeyEvent ( System.Enums ke, System args ) : void
OnMouseEvent ( System.Enums me, System args ) : void
OpenExistingAppCallback ( IntPtr hWnd, IntPtr lParam ) : bool
PopInput ( IInputSink input ) : void
PushInput ( IInputSink input ) : void
Run ( bool engineRunning, string initMapPath ) : void
SaveCompletedCallback ( bool success ) : void
UpdateCallback ( float dt ) : void

Private Methods

Method Description
EventCallback ( uint eventType, IntPtr eventPtr ) : void
GetInputs ( ) : IEnumerable
LoadMapInternal ( string fileName, EditorDocument callback ) : void

Method Details

EnableUICallback() public method

public EnableUICallback ( bool enable ) : void
enable bool
return void

Initialise() public method

public Initialise ( ) : void
return void

LoadCompletedCallback() public method

public LoadCompletedCallback ( bool success ) : void
success bool
return void

OnKeyEvent() public method

public OnKeyEvent ( System.Enums ke, System args ) : void
ke System.Enums
args System
return void

OnMouseEvent() public method

public OnMouseEvent ( System.Enums me, System args ) : void
me System.Enums
args System
return void

OpenExistingAppCallback() public static method

public static OpenExistingAppCallback ( IntPtr hWnd, IntPtr lParam ) : bool
hWnd System.IntPtr
lParam System.IntPtr
return bool

PopInput() public method

public PopInput ( IInputSink input ) : void
input IInputSink
return void

PushInput() public method

public PushInput ( IInputSink input ) : void
input IInputSink
return void

Run() public method

public Run ( bool engineRunning, string initMapPath ) : void
engineRunning bool
initMapPath string
return void

SaveCompletedCallback() public method

public SaveCompletedCallback ( bool success ) : void
success bool
return void

UpdateCallback() public method

public UpdateCallback ( float dt ) : void
dt float
return void

Property Details

programGuid public_oe static_oe property

public static string programGuid
return string