Package game.level

Examples of game.level.LocalBounds


    super(level, x, y);
  }

  public Heart(Level level, Tag tag) {
    super(level, tag);
    this.bounds = new LocalBounds(8, 8);
  }
View Full Code Here


  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();
      this.input = game.input;
View Full Code Here

      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.level.LocalBounds

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.