Floor is now just a fixture.
This commit is contained in:
parent
23f54bd4fe
commit
e5fa76b03c
6 changed files with 20 additions and 25 deletions
|
|
@ -83,8 +83,6 @@ namespace components {
|
|||
|
||||
struct AnimatedScene {
|
||||
std::string background;
|
||||
std::optional<std::string> floor;
|
||||
std::string floor_pos;
|
||||
json actors;
|
||||
json fixtures;
|
||||
};
|
||||
|
|
@ -151,7 +149,7 @@ namespace components {
|
|||
using ComponentMap = std::unordered_map<std::string, ReflFuncSignature>;
|
||||
|
||||
ENROLL_COMPONENT(Tile, display, foreground, background);
|
||||
ENROLL_COMPONENT(AnimatedScene, background, floor, floor_pos, actors, fixtures);
|
||||
ENROLL_COMPONENT(AnimatedScene, background, actors, fixtures);
|
||||
ENROLL_COMPONENT(Sprite, name, scale);
|
||||
ENROLL_COMPONENT(Curative, hp);
|
||||
ENROLL_COMPONENT(LightSource, strength, radius);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue