Package Ocarina2D.TextEngine

Examples of Ocarina2D.TextEngine.TextBox.addFrame()


        TextBox text = new TextBox();
        //text.textInstant();
        text.addTextField("You're reading a sign!");
        text.addTextField("This is the second page of text, not that signs ever have that, but just thought it might be nice anyway...");

        text.addFrame(new Sprite("Resources/Sprites/Text/sign.png"));
            text=null;

        // Sleep so that things are not stupidly fast.
        try{    Thread.sleep(300);   }
        catch( InterruptedException e ) {  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.