コード例 #1
0
 public CellBoolDrawer(ICellBoolGiver giver, int mapSizeX, int mapSizeZ, float opacity = 0.33f)
 {
     this.giver    = giver;
     this.mapSizeX = mapSizeX;
     this.mapSizeZ = mapSizeZ;
     this.opacity  = opacity;
 }
コード例 #2
0
 public CellBoolDrawer(ICellBoolGiver giver, int mapSizeX, int mapSizeZ, float opacity = 0.33f)
     : this(mapSizeX, mapSizeZ, opacity)
 {
     colorGetter      = () => giver.Color;
     extraColorGetter = giver.GetCellExtraColor;
     cellBoolGetter   = giver.GetCellBool;
 }
コード例 #3
0
 public CellBoolDrawer(ICellBoolGiver giver, int mapSizeX, int mapSizeZ, int renderQueue, float opacity = 0.33f)
     : this(giver, mapSizeX, mapSizeZ, opacity)
 {
     this.renderQueue = renderQueue;
 }