C# Class Ensage.Common.Threading.GameDispatcher

Exibir arquivo Open project: EnsageSharp/Ensage.Common

Public Methods

Method Description
BeginInvoke ( System.Action action ) : void

Schedules action to be executed on next Update

InvokeEvent ( System.Action action ) : void

Private Methods

Method Description
GameDispatcher ( ) : System
IngameUpdateDispatcher ( EventArgs args ) : void
UpdateDispatcher ( EventArgs args ) : void

Method Details

BeginInvoke() public static method

Schedules action to be executed on next Update
public static BeginInvoke ( System.Action action ) : void
action System.Action
return void

InvokeEvent() public static method

public static InvokeEvent ( System.Action action ) : void
action System.Action
return void