There's now a Collision component that determines collision if its set. Closes #72.
This commit is contained in:
parent
9bf6926dc3
commit
fc4eacadb0
6 changed files with 27 additions and 13 deletions
|
@ -40,4 +40,6 @@ namespace System {
|
|||
|
||||
void draw_map(GameLevel& level, Matrix& grid, EntityGrid& entity_map);
|
||||
void render_map(Matrix& tiles, EntityGrid& entity_map, sf::RenderTexture& render, int compass_dir, wchar_t player_display);
|
||||
|
||||
void set_position(DinkyECS::World& world, SpatialMap& collision, Entity entity, Position pos);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue