Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FloorTile"/> class.
 /// </summary>
 /// <param name="xPos">The x pos.</param>
 /// <param name="yPos">The y pos.</param>
 /// <param name="tileInfo">Gets some generic information about the tile.</param>
 internal FloorTile(int xPos, int yPos, FloorTileInfo tileInfo)
 {
     this.XPos = xPos;
     this.YPos = yPos;
     _tileInfo = tileInfo;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FloorTile"/> class.
 /// </summary>
 /// <param name="xPos">The x pos.</param>
 /// <param name="yPos">The y pos.</param>
 internal FloorTile(int xPos, int yPos)
 {
     this.XPos = xPos;
     this.YPos = yPos;
     _tileInfo = new FloorTileInfo(0);
 }