Player's aim is now updated constantly as they move, just need to solve #57 to complete it. Closes #9.

This commit is contained in:
Zed A. Shaw 2025-07-05 11:18:26 -04:00
parent 584c4e9f67
commit a26f0b0c0a
7 changed files with 48 additions and 27 deletions

View file

@ -18,7 +18,7 @@ namespace System {
void init_positions(World &world, SpatialMap &collider);
void device(World &world, Entity actor, Entity item);
void plan_motion(World& world, Point move_to);
void plan_motion(World& world, Position move_to);
std::wstring draw_map(GameLevel level, size_t view_x, size_t view_y, int compass_dir);
Entity spawn_item(World& world, const string& name);
bool drop_item(GameLevel& level, Entity item);
@ -36,4 +36,5 @@ namespace System {
void remove_from_container(World& world, Entity cont_id, const std::string& name);
void remove_from_world(GameLevel &level, Entity entity);
Position& player_position(GameLevel& level);
}