Package zelda.items

Examples of zelda.items.Bomb


    if (System.currentTimeMillis() > lastBom + bomInterval)
    {
      switch (direction)
      {
        case UP:
          game.getScene().addNewGObject(new Bomb(game, x + 2, y - 16));
          break;

        case DOWN:
          game.getScene().addNewGObject(new Bomb(game, x + 2, y + getHeight()));
          break;

        case LEFT:
          game.getScene().addNewGObject(new Bomb(game, x - 13, y + 7));
          break;

        case RIGHT:
          game.getScene().addNewGObject(new Bomb(game, x + getWidth(), y + 7));
          break;
      }

      lastBom = System.currentTimeMillis();
    }
View Full Code Here

TOP

Related Classes of zelda.items.Bomb

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.