Buttons on screens work and most screens now have a continue/quit button.
This commit is contained in:
parent
532366091b
commit
17f05e7093
9 changed files with 165 additions and 17 deletions
|
|
@ -94,6 +94,7 @@ namespace components {
|
|||
std::vector<std::string> layout;
|
||||
json actors;
|
||||
json fixtures;
|
||||
json buttons;
|
||||
};
|
||||
|
||||
struct Storyboard {
|
||||
|
|
@ -168,7 +169,7 @@ namespace components {
|
|||
using ComponentMap = std::unordered_map<std::string, ReflFuncSignature>;
|
||||
|
||||
ENROLL_COMPONENT(Tile, display, foreground, background);
|
||||
ENROLL_COMPONENT(AnimatedScene, background, layout, actors, fixtures);
|
||||
ENROLL_COMPONENT(AnimatedScene, background, layout, actors, fixtures, buttons);
|
||||
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