Example #1
0
 @Override
 public void render(float delta) {
   Engine.getSpriteBatch().begin();
   sprite.render(delta);
   Engine.getDefaultFont().draw(Engine.getSpriteBatch(), "This is scene A", 200, 200);
   Engine.getSpriteBatch().end();
 }
Example #2
0
 private SceneA() {
   sprite = new AdvanceSprite(Engine.resource("A", Texture.class));
   sprite.setSize(Engine.getWidth(), Engine.getHeight());
   sprite.setColor(Color.RED);
 }