Exemple #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)
 {
     m_xPos     = xPos;
     m_yPos     = yPos;
     m_tileInfo = tileInfo;
 }
Exemple #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)
 {
     m_xPos     = xPos;
     m_yPos     = yPos;
     m_tileInfo = new FloorTileInfo(NamedOrGenericKey.Empty);
 }