Now also combat works no matter what's on the ground. Closes #81.

This commit is contained in:
Zed A. Shaw 2025-08-09 00:13:38 -04:00
parent f84b63f0e6
commit 05d54ff661
5 changed files with 19 additions and 23 deletions

View file

@ -39,6 +39,7 @@ class SpatialMap {
bool something_there(Point at) const;
DinkyECS::Entity get(Point at) const;
DinkyECS::Entity find(Point at, std::function<bool(CollisionData)> cb) const;
void find_neighbor(EntityList &result, Point at, int dy, int dx) const;
FoundEntities neighbors(Point position, bool diag=false) const;