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));