diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-04-28 18:52:55 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-04-28 18:52:55 -0400 |
commit | 36cceabfc5ddd22d9ae0d6c4dee9d4041bf2e348 (patch) | |
tree | 070a870726b7659f47c26568181e166ea9face3b /src/systems/realizing.h | |
parent | d0f191b3b7419f846342ea5eba5a9bb69cf9bb14 (diff) | |
download | therapy-36cceabfc5ddd22d9ae0d6c4dee9d4041bf2e348.tar.gz therapy-36cceabfc5ddd22d9ae0d6c4dee9d4041bf2e348.tar.bz2 therapy-36cceabfc5ddd22d9ae0d6c4dee9d4041bf2e348.zip |
Implemented map object sprites
Map objects cannot be interacted with or collided with yet but the sprites are loaded.
Diffstat (limited to 'src/systems/realizing.h')
-rw-r--r-- | src/systems/realizing.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/systems/realizing.h b/src/systems/realizing.h index c681892..595c58f 100644 --- a/src/systems/realizing.h +++ b/src/systems/realizing.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef REALIZING_H_6853748C | 1 | #ifndef REALIZING_H_6853748C |
2 | #define REALIZING_H_6853748C | 2 | #define REALIZING_H_6853748C |
3 | 3 | ||
4 | #include <string> | ||
4 | #include "system.h" | 5 | #include "system.h" |
5 | 6 | ||
6 | class RealizingSystem : public System { | 7 | class RealizingSystem : public System { |
@@ -12,9 +13,11 @@ public: | |||
12 | 13 | ||
13 | /** | 14 | /** |
14 | * Creates the singleton realizable entity and initializes it with the | 15 | * Creates the singleton realizable entity and initializes it with the |
15 | * provided world definition. | 16 | * provided world definition and map object prototype definition. |
16 | */ | 17 | */ |
17 | id_type initSingleton(std::string filename); | 18 | id_type initSingleton( |
19 | std::string worldFile, | ||
20 | std::string prototypeFile); | ||
18 | 21 | ||
19 | /** | 22 | /** |
20 | * Helper method that returns the entity ID of the (assumed) singleton entity | 23 | * Helper method that returns the entity ID of the (assumed) singleton entity |