public ITileLayer Get(TileLocation loc) { return(_tiles.First(x => x.Location.Equals(loc))); }
public Tile(string textureName, TileLocation location, Rotation rotation, bool blocking = false) : base(rotation, location) { _textureName = textureName; }
public bool Exist(TileLocation loc) { return(_tiles.Any(x => x.Location.Equals(loc))); }
protected bool Equals(TileLocation other) { return(Column == other.Column && Row == other.Row); }