Class WorldService¶
-
class WorldService¶
The WorldService is responsible for containing and drawing the Room.
Public Functions
-
WorldService()¶
Empty constructor.
-
bool getIfRoomExist()¶
Check if the room exists.
-
void setRoom(const std::string_view &filePath)¶
Set the current room using path to a .rmap file.
-
void setRoomBin(const std::string &roomBin)¶
Set the current room using a room title in the GameBin.
-
void doFadeTransition()¶
Activate transition effect
-
void update()¶
Update routine.
-
void draw() const¶
Draw routine.
-
void unload() const¶
Unload routine.
-
WorldService()¶