Package com.isteinvids.untrusted.level

Examples of com.isteinvids.untrusted.level.Item


       
//        g.drawString(Character.toString((char) 0x2592) + "\u2592", 20, 20);
        int count = 0;
        int invx=getWidth()-30, invy = getHeight()-10;
        for (String invitem : levelManager.playerInventory) {
            Item itm = levelManager.itemMapping.get(invitem);
            if (itm != null) {
                int width = g.getFontMetrics().stringWidth(itm.symbol + "");
//                g.setColor(Color.black);
//                g.drawString(Character.toString(itm.symbol), (this.getWidth() / 2) - (count * (width + 10)) + 1, getHeight() - 10 + 1);
                g.setColor(new Color(itm.colour));
View Full Code Here

TOP

Related Classes of com.isteinvids.untrusted.level.Item

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.