Package game.item

Examples of game.item.Inventory


  private Entity performActionOn = null;

  public Player(World world, String name, int x, int y) {
    super(null, name, x, y, 1);
    this.level = world.getLevel();
    this.inventory = new Inventory(0, "Player Inventory", 20);
    this.bounds = new LocalBounds(8, 4, 4, 12);
    health = 3;
    this.renderLayer = 3;
    if (world.getGame() != null) {
      this.game = world.getGame();
View Full Code Here


      this.game = world.getGame();
      this.input = game.input;
      input.addListener(this);
      game.hud = new GuiHUD(game, this, Game.WIDTH, Game.HEIGHT);
    }
    this.inventory = new Inventory(0, "Player Inventory", 20);
    this.bounds = new LocalBounds(8, 4, 4, 12);
    this.renderLayer = 3;
    this.id = 0;
  }
View Full Code Here

TOP

Related Classes of game.item.Inventory

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.