Пример #1
0
 public override BlockController Controller()
 {
     BlockCrossMesh controller = new BlockCrossMesh();
     controller.texture = Block.index.textureIndex.GetTextureCollection(texture);
     controller.blockName = blockName;
     return controller;
 }
Пример #2
0
 public override BlockController Controller()
 {
     BlockCrossMesh controller = new BlockCrossMesh();
     controller.texture = new Tile((int)texture.x, (int)texture.y);
     controller.blockName = blockName;
     return controller;
 }
Пример #3
0
    public override BlockController Controller()
    {
        BlockCrossMesh controller = new BlockCrossMesh();

        controller.texture   = Block.index.textureIndex.GetTextureCollection(texture);
        controller.blockName = blockName;
        return(controller);
    }
Пример #4
0
    public override BlockController Controller()
    {
        BlockCrossMesh controller = new BlockCrossMesh();

        controller.texture   = new Tile((int)texture.x, (int)texture.y);
        controller.blockName = blockName;
        return(controller);
    }