Added dialog to add events to object
This commit is contained in:
1 parent
7fdcd5386d
commit
8d45958d45
22 files changed
+474
-124
No files matched your search
@@ -84,12 +84,19 @@ struct TimeLine
|
||||
|
||||
struct Object
|
||||
{
|
||||
enum class EventType {
|
||||
Create,
|
||||
Step,
|
||||
Destroy
|
||||
};
|
||||
|
||||
QString name;
|
||||
QString spriteName;
|
||||
bool visible{true};
|
||||
bool solid{};
|
||||
int depth{};
|
||||
bool persistent{};
|
||||
std::map<EventType, QString> events;
|
||||
};
|
||||
|
||||
struct Room
|
||||
|
||||
Reference in new issue
Block a user