Basic ability to create a 'stage' for a boss fight, which is a thing in front the boss animates behind.
This commit is contained in:
parent
8b414c13e6
commit
243b4c2663
8 changed files with 25 additions and 3 deletions
|
@ -69,6 +69,7 @@ namespace components {
|
|||
|
||||
struct BossFight {
|
||||
std::string background;
|
||||
std::string stage;
|
||||
std::string weapon_sound;
|
||||
};
|
||||
|
||||
|
@ -128,7 +129,7 @@ namespace components {
|
|||
template <typename T> struct NameOf;
|
||||
|
||||
ENROLL_COMPONENT(Tile, display, foreground, background);
|
||||
ENROLL_COMPONENT(BossFight, background, weapon_sound);
|
||||
ENROLL_COMPONENT(BossFight, background, stage, weapon_sound);
|
||||
ENROLL_COMPONENT(Sprite, name, width, height, scale);
|
||||
ENROLL_COMPONENT(Curative, hp);
|
||||
ENROLL_COMPONENT(LightSource, strength, radius);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue