Sprite is now a component we can place on anything to render it.

This commit is contained in:
Zed A. Shaw 2025-02-10 12:58:24 -05:00
parent 9c37960283
commit 6bca6d021e
8 changed files with 50 additions and 26 deletions

View file

@ -13,7 +13,8 @@
},
{"_type": "Device",
"config": {"test": true},
"events": ["Events::GUI::STAIRS_DOWN"]}
"events": ["Events::GUI::STAIRS_DOWN"]},
{"_type": "Sprite", "name": "barrel"}
]
},
"STAIRS_UP": {
@ -29,7 +30,8 @@
},
{"_type": "Device",
"config": {"test": true},
"events": ["Events::GUI::STAIRS_UP"]}
"events": ["Events::GUI::STAIRS_UP"]},
{"_type": "Sprite", "name": "barrel"}
]
},
"SPIKE_TRAP": {
@ -44,7 +46,8 @@
},
{"_type": "Device",
"config": {"test": true},
"events": ["Events::GUI::TRAP"]}
"events": ["Events::GUI::TRAP"]},
{"_type": "Sprite", "name": "barrel"}
]
}
}