All (26) tutorials in this folder are the most useful for starting a game: "EsenthelEngineSDK\Tutorials\Source\Advanced\4 - Demos, Game Basics\Game Basics".
A good place for you would be "03 - World with Character". At line 101:
Code:
// create the world
Game::World.init()
.setObjType(Statics,OBJ_STATIC)
.setObjType(Players,OBJ_PLAYER) // please note that here we'll use 'Players' memory container for 'OBJ_PLAYER' objects
.setObjType(Items ,OBJ_ITEM )
.New("world/sample.world");
OBJ_STATIC, OBJ_PLAYER, and OBJ_ITEM are defined in "Data/Enum/obj_type.enum.h".
Add your own to the file, for instance, OBJ_SPAWNER, assign this to an object in your world, and load them to a custom class.
Code:
// create the world
Game::World.init()
.setObjType(Statics,OBJ_STATIC)
.setObjType(Players,OBJ_PLAYER) // please note that here we'll use 'Players' memory container for 'OBJ_PLAYER' objects
.setObjType(Items ,OBJ_ITEM )
.setObjType(Spawners, OBJ_SPAWNER) // <== load objects of type OBJ_SPAWNER to Spawners
.New("world/sample.world");
Have that class spawn mobs whenever they need to.