public Tile GetTile(int x, int y) { if (x > this.MapWidth || y > this.MapHeight || y < 0 || x < 0) return null; return this.tiles[x, y]; }