Quick hack to test finding a better light. If you find the gold you get a better light.
This commit is contained in:
parent
a9217e8423
commit
62f986719d
3 changed files with 9 additions and 2 deletions
1
main.cpp
1
main.cpp
|
@ -33,6 +33,7 @@ void configure_world(DinkyECS::World &world, Map &game_map) {
|
|||
world.set<Combat>(player.entity, {100, 10});
|
||||
world.set<Tile>(player.entity, {config.PLAYER_TILE});
|
||||
world.set<Inventory>(player.entity, {5});
|
||||
world.set<LightSource>(player.entity, {200});
|
||||
|
||||
auto enemy = world.entity();
|
||||
world.set<Position>(enemy, {game_map.place_entity(1)});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue