public Collisions(Level level) { this.level = level; collectiblesWithHitboxes = Hitboxes.GetCollectiblesWithHitboxes(level); groundsWithHitboxes = Hitboxes.GetGroundsWithHitboxes(level); }
private Hitbox GetPlayerHitbox(Vector2 playerPosition) { return(Hitboxes.GetPlayerHitbox(playerPosition)); }