Komodo Engine
C PROJECT_LOGO=
|
Manages all graphics initialization, systems, and underlying interactions with the MonoGame framework. More...
Public Member Functions | |
Game () | |
Creates the Game instance, instantiating the underlying Komodo.Core.MonoGame instance, Komodo.Core.Engine.Graphics.GraphicsManager, and Komodo.Core.ECS.Systems.ISystem objects. More... | |
PhysicsSystem | CreatePhysicsSystem () |
Creates and begins tracking a new Komodo.Core.ECS.Systems.PhysicsSystem. More... | |
Render2DSystem | CreateRender2DSystem () |
Creates and begins tracking a new Komodo.Core.ECS.Systems.Render2DSystem. More... | |
Render3DSystem | CreateRender3DSystem () |
Creates and begins tracking a new Komodo.Core.ECS.Systems.Render3DSystem. More... | |
void | Draw (GameTime gameTime) |
Draws a frame with a default clear color. More... | |
void | Draw (GameTime _, Color clearColor) |
Draws a frame with a provided clear color. More... | |
void | Exit () |
Exits the application. More... | |
void | Initialize () |
Initializes the Komodo.Core.Engine.Graphics.GraphicsManager and all Komodo.Core.ECS.Systems.ISystem objects. More... | |
void | Run () |
void | Update (GameTime gameTime) |
Updates Komodo.Core.ECS.Systems.ISystem objects. More... | |
void | Dispose () |
Implicit call to Dispose(bool). More... | |
Protected Member Functions | |
virtual void | Dispose (bool isDisposing) |
Disposes of the underlying Komodo.Core.MonoGame instance. More... | |
Manages all graphics initialization, systems, and underlying interactions with the MonoGame framework.
Komodo.Core.Game.Game | ( | ) |
Creates the Game instance, instantiating the underlying Komodo.Core.MonoGame instance, Komodo.Core.Engine.Graphics.GraphicsManager, and Komodo.Core.ECS.Systems.ISystem objects.
PhysicsSystem Komodo.Core.Game.CreatePhysicsSystem | ( | ) |
Creates and begins tracking a new Komodo.Core.ECS.Systems.PhysicsSystem.
Render2DSystem Komodo.Core.Game.CreateRender2DSystem | ( | ) |
Creates and begins tracking a new Komodo.Core.ECS.Systems.Render2DSystem.
Render3DSystem Komodo.Core.Game.CreateRender3DSystem | ( | ) |
Creates and begins tracking a new Komodo.Core.ECS.Systems.Render3DSystem.
void Komodo.Core.Game.Dispose | ( | ) |
Implicit call to Dispose(bool).
|
protectedvirtual |
Disposes of the underlying Komodo.Core.MonoGame instance.
isDisposing | Whether or not the Game is disposing. |
void Komodo.Core.Game.Draw | ( | GameTime | _, |
Color | clearColor | ||
) |
Draws a frame with a provided clear color.
_ | Time passed since last Draw(GameTime). |
clearColor | Microsoft.Xna.Framework.Color to clear the screen with. |
void Komodo.Core.Game.Draw | ( | GameTime | gameTime | ) |
Draws a frame with a default clear color.
gameTime | Time passed since last Draw(GameTime). |
void Komodo.Core.Game.Exit | ( | ) |
Exits the application.
void Komodo.Core.Game.Initialize | ( | ) |
Initializes the Komodo.Core.Engine.Graphics.GraphicsManager and all Komodo.Core.ECS.Systems.ISystem objects.
void Komodo.Core.Game.Update | ( | GameTime | gameTime | ) |
Updates Komodo.Core.ECS.Systems.ISystem objects.
gameTime | Time passed since last Update(GameTime). |
|
get |
Manages all Komodo.Core.ECS.Components.BehaviorComponent objects.
|
get |
Manages all Komodo.Core.ECS.Components.CameraComponent objects.
|
staticget |
Provides access to the content files compiled by the MonoGame Content Pipeline (Releases: https://github.com/MonoGame/MonoGame/releases).
|
getset |
Default shader for all Komodo.Core.ECS.Components.Drawable2DComponent.
|
get |
Tracks the FPS based on current Microsoft.Xna.Framework.GameTime.
|
get |
Manages graphics devices for the Game window.
|
get |
Manages all Komodo.Core.ECS.Components.PhysicsComponent objects.
|
get |
Manages all Komodo.Core.ECS.Components.Drawable2DComponent objects.
|
get |
Manages all Komodo.Core.ECS.Components.Drawable3DComponent objects.
|
get |
Manages all Komodo.Core.ECS.Components.SoundComponent objects.
|
getset |
Window title.