![]() |
CRM64Pro GDK v0.15.0
A free cross-platform game development kit built on top of SDL 3.0
|
Factory interface for creating game objects from Tiled type strings. More...
Factory interface for creating game objects from Tiled type strings.
Users implement this interface to create game-specific SceneObject subclasses based on the "type" attribute from Tiled objects.
Public Member Functions | |
| virtual SceneObject * | create (const string &sType)=0 |
| Create an object instance based on Tiled type string. | |
|
pure virtual |
Create an object instance based on Tiled type string.
| sType | The "type" attribute from the Tiled object element (normalized to lowercase by Scene). |