More notes on the next things to do.
This commit is contained in:
parent
011fee4872
commit
0e79288afc
8 changed files with 31 additions and 6 deletions
1
main.cpp
1
main.cpp
|
@ -27,6 +27,7 @@ void configure_world(DinkyECS::World &world, Map &game_map) {
|
|||
world.set<Motion>(player.entity, {0, 0});
|
||||
world.set<Combat>(player.entity, {100, 10});
|
||||
world.set<Tile>(player.entity, {config.PLAYER_TILE});
|
||||
world.set<Inventory>(player.entity, {5});
|
||||
|
||||
auto enemy = world.entity();
|
||||
world.set<Position>(enemy, {game_map.place_entity(1)});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue