Package iryrwarosh

Examples of iryrwarosh.Item.color()


    terminal.write(String.format("%3d" + (char)4, player.rupees()), 64, 0, Common.hsv(60, 25, 75), null);
   
    Item item = world.item(player.position.x, player.position.y);
    if (item != null && item.canBePickedUp()){
      terminal.write("[g] ", 0, 1);
      terminal.write(item.name(), item.color(), null);
      terminal.write(" (at your feet)");
    }

    terminal.setCursorPosition(69, 0);
    Color heartColor = player.isPoisoned() ? AsciiPanel.green : AsciiPanel.red;
View Full Code Here


            t.background());
      } else {
        terminal.write(
            item.glyph(),
            x, y+1,
            item.color(),
            t.background());
      }
    }
   
    for (Creature c : world.creatures()){
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.