load maps from png files
This commit is contained in:
parent
51334af8c3
commit
6bed7d918f
1 changed files with 85 additions and 60 deletions
|
|
@ -9,5 +9,5 @@ internal sealed class CollideBulletsWithMap(BulletManager bullets, MapService ma
|
|||
}
|
||||
|
||||
private bool BulletHitsWall(Bullet bullet) =>
|
||||
map.IsCurrentlyWall(bullet.Position.ToPixelPosition().ToTilePosition());
|
||||
map.Current.IsCurrentlyWall(bullet.Position.ToPixelPosition());
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue