Package squaresgame

Examples of squaresgame.TurnCounterComponent


import framework.spacial.PositionComponent;

public class TurnCounterGenerator {
  public static void setUpTurnCounter() {
    ParentComponent counterParent = new ParentComponent();
    counterParent.addComponent(new TurnCounterComponent());
    counterParent.addComponent(new TextRenderComponent("Current Move:"));
   
    SpriteComponent spriteComp = new SpriteComponent(ColourManager.getSquareForPlayer(0),new Vector2f(125, -8), 40, 40);
    //spriteComp.setAlwaysOnTop();
    counterParent.addComponent(spriteComp);
View Full Code Here

TOP

Related Classes of squaresgame.TurnCounterComponent

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.