File actorContainer.hpp¶
-
class ActorContainer
- #include <actorContainer.hpp>
Public Functions
-
ActorContainer()
Construct the actor container.
-
std::map<std::string, std::unique_ptr<Actor>> &getActors()
Get the map itself
-
void addActor(Vector2 pos, const std::string &typeName, const std::string &roomName)
Add a new Actor with a name from the GameBin and an in-room name
-
void removeActor(const std::string &roomName)
Remove an Actor
-
bool actorExists(const std::string &roomName)
Check whether an Actor with such an in-room name exists.
-
ActorContainer()