Package fm.ak.otse.twod

Examples of fm.ak.otse.twod.Sheet


    /**
     * go figure moron
     */
    public void load() {

        Sheet sheet;

        sheet = new Sheet("img/spread.png");
        spread.setSheetSprite(sheet, "entirety");
        spread.position(0, 0, Main.width, Main.height);
        spread.repeat = false; // so it stretches
       
        // out of place perhaps
        //Main.gooey = new Sheet("img/gui.png");
        //Main.gooey.sprite("box", new Sprite(0, 0, 500, 300));

        sheet = new Sheet("img/guy.png");
        guy.setSheetSprite(sheet, "entirety");
        int x = Main.width / 2 + 100;
        int y = Main.height / 2 - 128;
        guy.position(x, y, guy.w(), guy.h());

View Full Code Here


     *
     * @throws InterruptedException
     */
    private void firstThing() throws InterruptedException {

        sheet1 = new Sheet("img/Sheet.png");
        Tile.sheet = sheet1;
       
        StaticFont.make();
       
        Shader.StaticShader();
View Full Code Here

TOP

Related Classes of fm.ak.otse.twod.Sheet

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.