Package rakama.worldtools.tex

Examples of rakama.worldtools.tex.BlockTexture


        faces[4] = BlockTexture.fromImage(skin.getSubimage(4, 16, 4, 4));
        faces[5] = BlockTexture.fromImage(skin.getSubimage(8, 16, 4, 4)).flipVertically();
       
        if(mirror)
        {  
            BlockTexture temp = faces[0];
            faces[0] = faces[2];
            faces[2] = temp;
           
            faces[1] = faces[1].flipHorizontally();
            faces[3] = faces[3].flipHorizontally();
View Full Code Here


        faces[4] = BlockTexture.fromImage(skin.getSubimage(44, 16, 4, 4));
        faces[5] = BlockTexture.fromImage(skin.getSubimage(48, 16, 4, 4)).flipVertically();

        if(mirror)
        {  
            BlockTexture temp = faces[0];
            faces[0] = faces[2];
            faces[2] = temp;
           
            faces[1] = faces[1].flipHorizontally();
            faces[3] = faces[3].flipHorizontally();
View Full Code Here

TOP

Related Classes of rakama.worldtools.tex.BlockTexture

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.