Package com.pointcliki.core

Examples of com.pointcliki.core.TextEntity.position()


    delete.resize(new Vector2f(155, 24));
    delete.position(new Vector2f(0, 26));
    addChild(delete, 3);
   
    TextEntity name = new TextEntity(l.name(), TextEntity.ALIGN_LEFT, EditorScene.LargeFont(), Color.darkGray);
    name.position(new Vector2f(0, 64));
    addChild(name, 4);
   
    int i = 80;
    int n = 100;
    // Add properties
View Full Code Here


    for (LogicProperty p: l.properties()) {
      if (p instanceof StringLogicProperty) {
        final StringLogicProperty s = (StringLogicProperty) p;
        // Add label
        TextEntity label = new TextEntity(s.name(), TextEntity.ALIGN_LEFT, GruntzGame.resourceManager().UIFont(), Color.darkGray);
        label.position(new Vector2f(2, i + 14));
        addChild(label, n);
        n--;
        i += 26;
       
        String[] choices = s.choices();
View Full Code Here

       
        final ProgressBar downloadBar = new ProgressBar(new Vector2f(340, 32), new Color(20, 44, 48), HOVER);
        StartScene.this.addChild(downloadBar.position(new Vector2f(60, 115)));
       
        final TextEntity downloadText = new TextEntity("Please wait while Dizgruntled downloads\nrequired resources", TextEntity.ALIGN_LEFT, fFont);
        StartScene.this.addChild(downloadText.position(new Vector2f(60, 200)));
       
        // Download the resources
        final Thread downloader = new Thread() {
         
          private DownloadExtractor fVrzDown;
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.