Esempio n. 1
0
        // DrawTile(x, y)
        internal void DrawRoadTile(ConstructConfig config, float x, float y, float scale)
        {
            if (RoadIndices == null)
            {
                // TileSet has no roads
                return;
            }

            int index = RoadIndices[(int)config];

            DrawTile(index, x, y, scale);
        }
Esempio n. 2
0
        // DrawTile(x, y)
        internal void DrawRoadTile(ConstructConfig config, float x, float y, float scale)
        {
            if (RoadIndices == null)
            // TileSet has no roads
            return;

             int index = RoadIndices[(int)config];
             DrawTile(index, x, y, scale);
        }
Esempio n. 3
0
 internal Construct(ConstructType setType)
 {
     Type   = setType;
     Config = ConstructConfig.QuadPiece;
 }