formatting
This commit is contained in:
parent
d4d0abd013
commit
1f0e6ba8fa
1 changed files with 87 additions and 78 deletions
|
|
@ -35,8 +35,5 @@ internal sealed class MapService
|
|||
|
||||
private char this[int tileX, int tileY] => _map[tileX + tileY * TilesPerRow];
|
||||
|
||||
public bool IsCurrentlyWall(TilePosition position)
|
||||
{
|
||||
return this[position.X, position.Y] == '#';
|
||||
}
|
||||
public bool IsCurrentlyWall(TilePosition position) => this[position.X, position.Y] == '#';
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue