Now also combat works no matter what's on the ground. Closes #81.
This commit is contained in:
parent
f84b63f0e6
commit
05d54ff661
5 changed files with 19 additions and 23 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue