Class Base
- Namespace
- Awperative
- Assembly
- Awperative.dll
Base class of Awperative. Carries events from MonoGame into scenes and hooks.
public sealed class Base : Game, IDisposable
- Inheritance
-
GameBase
- Implements
- Inherited Members
-
Game.Dispose()Game.Exit()Game.ResetElapsedTime()Game.SuppressDraw()Game.RunOneFrame()Game.Run()Game.Run(GameRunBehavior)Game.Tick()Game.LaunchParametersGame.ComponentsGame.InactiveSleepTimeGame.MaxElapsedTimeGame.IsActiveGame.IsMouseVisibleGame.TargetElapsedTimeGame.IsFixedTimeStepGame.ServicesGame.ContentGame.GraphicsDeviceGame.WindowGame.ActivatedGame.DeactivatedGame.DisposedGame.Exiting
Methods
Draw(GameTime)
Draw() is called every frame; after Update(). Override Draw() in scripting tools to call from this event.
protected override void Draw(GameTime __gameTime)
Parameters
__gameTimeGameTime
Remarks
Hooks are unable to receive both Update() and Draw()
EndRun()
EndRun() is called if the program closes. Override Terminate() in scripting tools or use hooks to call from this event.
protected override void EndRun()
Remarks
This event may not trigger if the program is force closed.
Initialize()
Initialize() is called when the program starts. Goes before LoadContent(). And prepares the kernel for use.
protected override void Initialize()
Remarks
It is recommended not to load content in Initialize()
LoadContent()
LoadContent() is called when the program starts; right after Initialize(). Override Load() in scripting tools or use hooks to call from this event.
protected override void LoadContent()
Remarks
It is recommended to load content during LoadContent()
Update(GameTime)
Update() is called every frame; before Draw(). Override Update() in scripting tools to call from this event.
protected override void Update(GameTime __gameTime)
Parameters
__gameTimeGameTime
Remarks
Hooks are unable to receive both Update() and Draw()