There's now a Collision component that determines collision if its set. Closes #72.

This commit is contained in:
Zed A. Shaw 2025-08-06 11:43:39 -04:00
parent 9bf6926dc3
commit fc4eacadb0
6 changed files with 27 additions and 13 deletions

View file

@ -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);
}