GameEngineRegistry class

Registry for managing game engine implementations

This singleton class manages the registration and creation of engine controllers. Engine plugins register themselves here during initialization.

Properties

hashCode int
The hash code for this object.
no setterinherited
registeredEngines List<GameEngineType>
Get list of registered engines
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Clear all registrations (mainly for testing)
createController(GameEngineType type, int viewId, GameEngineConfig config) Future<GameEngineController>
Create a controller for the specified engine
isEngineRegistered(GameEngineType type) bool
Check if an engine is registered
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerEngine(GameEngineType type, GameEngineFactory factory) → void
Register a game engine implementation
toString() String
A string representation of this object.
inherited
unregisterEngine(GameEngineType type) → void
Unregister an engine (rarely needed)

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance GameEngineRegistry
no setter