예제 #1
0
 /// <summary>
 /// Called to set the tile's display object. This is one of two variations, this one taking in an additional trait.
 /// </summary>
 public void setDisplay(Material display, MapTraits.TileType myType)
 {
     this.display = display;
     this.myType  = myType;
     updateDisplay();
 }
예제 #2
0
 /// <summary>
 /// Called to set the tile's display object. This is one of two variations, this one taking in an additional trait.
 /// </summary>
 public void setDisplay(GameObject display, MapTraits.TileType myType)
 {
     this.display = display;
     this.myType  = myType;
 }