Package iryrwarosh

Examples of iryrwarosh.Point


   
    return previous;
  }

  private void fireball() {
    Point dir = player.lastMovedDirection();
    world.add(new Projectile("fireball", player, 7, Tile.LAVA1.color(), 5, player.position.plus(dir.x, dir.y), dir));
    world.add(new Projectile("fireball", player, 250, Tile.LAVA2.color(), 2, player.position.copy(), dir));
    player.loseRupees(world, 10);
  }
View Full Code Here


    player.position.x = x;
    player.position.y = y;
  }

  private void fireblast() {
    Point dir = player.lastMovedDirection();
    Point side = new Point(dir.y, dir.x);
   
    world.add(new Projectile("fireball", player, 7, Tile.LAVA1.color(), 5, player.position.plus(dir), dir));
    world.add(new Projectile("fireball", player, 250, Tile.LAVA2.color(), 2, player.position.copy(), dir));
   
    world.add(new Projectile("fireball", player, 7, Tile.LAVA2.color(), 5, player.position.plus(dir).plus(side), dir));
View Full Code Here

TOP

Related Classes of iryrwarosh.Point

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.