check walls for spawn
This commit is contained in:
parent
6bed7d918f
commit
359e0235f9
1 changed files with 34 additions and 22 deletions
|
|
@ -9,5 +9,5 @@ internal sealed class CollideBulletsWithMap(BulletManager bullets, MapService ma
|
|||
}
|
||||
|
||||
private bool BulletHitsWall(Bullet bullet) =>
|
||||
map.Current.IsCurrentlyWall(bullet.Position.ToPixelPosition());
|
||||
map.Current.IsWall(bullet.Position.ToPixelPosition());
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue