Interface IGameSystemBase
Interface for a component that represents a Game System.
public interface IGameSystemBase : IComponent, IReferencable
- Inherited Members
- Extension Methods
Remarks
A Game System is a component that can be used to manage game logic, resources, or other systems within the Game. For example, it can be used to manage audio, input, or other subsystems.
Game Systems are typically added to the GameBase class and are initialized when the game starts. If the Game System needs to be updated or drawn, it can implement the IUpdateable and IDrawable interfaces respectively.
Methods
Initialize()
Initializes the Game System.
void Initialize()
Remarks
This method is called when the component is added to the Game. This can be used for tasks like querying for services the component needs and setting up non-graphics resources (as here the Graphics Device may have not been initialized yet).