Added multiple spawn points to level

This commit is contained in:
Maximilian Giller 2023-06-22 23:33:45 +02:00
parent a309976423
commit cf6ab330c6

View file

@ -8,7 +8,10 @@
#define INITIAL_LEVEL "default" #define INITIAL_LEVEL "default"
std::map<std::string, LevelConfig> const all_levels = { std::map<std::string, LevelConfig> const all_levels = {
{"default", LevelConfig("Default", {{0, 0}}, { {"default", LevelConfig("Default", {{0, 0},
{18, 18},
{0, 18},
{18, 0}}, {
CollectableInLevel("box", {5, 5}) CollectableInLevel("box", {5, 5})
}, },
{ {