Package iryrwarosh

Examples of iryrwarosh.Creature


  }
 
  private Screen newGame(Factory factory, Item item1, Item item2){
    World world = new Worldgen(80 / 3, 24 / 3).build();
   
    Creature player = factory.player(world);
    player.swapLeftHand(world, item1);
    player.swapRightHand(world, item2);
   
    for (int i = 0; i < 80; i++)
      factory.zora(world);
   
    for (int i = 0; i < 100; i++)
View Full Code Here


        }
      }
     
    });

    Creature creature = world.creature(startX + lookX, startY + lookY);
    Item item = world.item(startX + lookX, startY + lookY);
    Tile tile = world.tile(startX + lookX, startY + lookY);
   
    String text = null;
   
    if (creature != null && player.canSee(creature))
      text = creature.description();
    else if (item != null)
      text = item.name();
    else
      text = tile.description();
View Full Code Here

TOP

Related Classes of iryrwarosh.Creature

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.