Class CallbackConfig
Inheritance
CallbackConfig
Assembly: SadConsole.dll
Syntax
public class CallbackConfig : IConfigurator
Constructors
CallbackConfig()
Declaration
Properties
event_Ending
Declaration
public EventHandler<GameHost>? event_Ending { get; set; }
Property Value
event_FrameRender
Declaration
public EventHandler<GameHost>? event_FrameRender { get; set; }
Property Value
event_FrameUpdate
Declaration
public EventHandler<GameHost>? event_FrameUpdate { get; set; }
Property Value
event_Started
Declaration
public EventHandler<GameHost>? event_Started { get; set; }
Property Value
Methods
Run(BuilderBase, GameHost)
Called by the Builder; Runs the specific config for this object.
Declaration
public void Run(BuilderBase config, GameHost game)
Parameters
| Type |
Name |
Description |
| BuilderBase |
config |
The builder configuration object.
|
| GameHost |
game |
The game object being created.
|
Implements
Extension Methods