Package com.palepail.TestGame.Message

Source Code of com.palepail.TestGame.Message.Continue

package com.palepail.TestGame.Message;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.scenes.scene2d.ui.Label;
import com.badlogic.gdx.scenes.scene2d.ui.Label.LabelStyle;
import com.badlogic.gdx.scenes.scene2d.utils.Align;
import com.palepail.TestGame.Utilities.Configuration;

public class Continue extends Message {
 
  public Continue() {
    super();
    text = "Continue?";
    font = new BitmapFont(Gdx.files.internal("data/fonts/bonzai24.fnt"),
        Gdx.files.internal("data/fonts/bonzai24.png"), false);
   
    LabelStyle ls = new LabelStyle(Configuration.bonzai24,Color.WHITE);
    label = new Label(text, ls);
    label.setAlignment(Align.center);
  }

  public void update() {

  }
}
TOP

Related Classes of com.palepail.TestGame.Message.Continue

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.