Exemple #1
0
    public BlockStone(uint depth)
    {
        this.depth = depth;
        name       = "Stone (Depth " + (depth + 1) + ")";
        float mult = 1f - (depth * .1f);

        renderer = new RenderFullBlock(new TextureLayout(0), Color.white * mult);
    }
Exemple #2
0
 public BlockDirt()
 {
     name     = "Dirt";
     renderer = new RenderFullBlock(new TextureLayout(1), Color.white);
 }
Exemple #3
0
 public BlockBedrock()
 {
     name           = "Bedrock";
     renderer       = new RenderFullBlock(new TextureLayout(0), Color.white * 0.15f);
     indestructable = true;
 }
 public BlockDirtStone()
 {
     name     = "Rocky Dirt";
     renderer = new RenderFullBlock(new TextureLayout(0), new Color32(173, 133, 92, 255));
 }
Exemple #5
0
 public BlockSand()
 {
     name     = "Sand";
     renderer = new RenderFullBlock(new TextureLayout(4), Color.white);
 }