Working sound system and most enemies have a sound effect. This will make it easier to add sounds now.
This commit is contained in:
parent
83df9ff03b
commit
20cbc3a21c
12 changed files with 126 additions and 5 deletions
|
@ -86,6 +86,11 @@ namespace components {
|
|||
string name;
|
||||
};
|
||||
|
||||
struct Sound {
|
||||
std::string attack;
|
||||
std::string death;
|
||||
};
|
||||
|
||||
struct Animation {
|
||||
float scale = 0.0f;
|
||||
bool simple = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue