Light works with multiple sources and strengths, walls are faked out but I think I may keep that to make it easier to play.
This commit is contained in:
parent
6174df5ec7
commit
0e8a2e520a
5 changed files with 55 additions and 14 deletions
|
@ -22,6 +22,7 @@ class spatial_map {
|
|||
void move(Point from, Point to, DinkyECS::Entity ent);
|
||||
void remove(Point pos);
|
||||
bool occupied(Point pos) const;
|
||||
DinkyECS::Entity get(Point at) const;
|
||||
FoundEntities neighbors(Point position, bool diag=false) const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue