Package com.thecherno.cherno.engine.graphics

Examples of com.thecherno.cherno.engine.graphics.Sprite


    test.addTileCode(0xff00ff, new RockTile(rock));
    test.add(player);
  }

  protected void init() {
    grass = new Sprite(Texture.load("res/grass.png"));
    rock = new Sprite(Texture.load("res/rock.png"));
    player = new Player();
    levels();
    createDisplay("Cherno 0.1a", 960, 540, 2.0);
    setInput(KEYBOARD | MOUSE);
    start();
View Full Code Here


public class Player extends Mob {

  private Sprite sprite;

  public Player() {
    sprite = new Sprite("res/player.png");
  }
View Full Code Here

TOP

Related Classes of com.thecherno.cherno.engine.graphics.Sprite

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.