Package com.mrdls.tc.screen.states

Source Code of com.mrdls.tc.screen.states.StateMainMenu

package com.mrdls.tc.screen.states;

import com.mrdls.tc.screen.gui.Button;
import com.mrdls.tc.screen.gui.Label;
import com.mrdls.tc.screen.gui.LabelStyles;

public class StateMainMenu extends ScreenState{

  Label testLabel;
 
  public StateMainMenu() {
    super("Main Menu");
   
    addElement("label", new Label("Label", 10, 20));
    addElement("success", new Label("Success", 10, 40).setStyle(LabelStyles.success));
    addElement("button", new Button("Button", 10, 60));
  }
}
TOP

Related Classes of com.mrdls.tc.screen.states.StateMainMenu

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.