Package com.isteinvids.untrusted.level

Examples of com.isteinvids.untrusted.level.Entity


            g.fillRect(offx + (ents.getKey().x * blocksizex), offy + (ents.getKey().y * blocksizey), blocksizex, blocksizey);
//            g.drawString(Character.toString(tile.c), );
        }

        for (Map.Entry<String, Entity> ents : levelManager.entities.entrySet()) {
            Entity entity = ents.getValue();
            g.setColor(Color.BLACK);
            g.drawString(Character.toString(entity.symbol), offx + (entity.position.x * blocksizex) + 1, offy + (entity.position.y * blocksizey) + 1);
            g.setColor(new Color(entity.colour));
            g.drawString(Character.toString(entity.symbol), offx + (entity.position.x * blocksizex), offy + (entity.position.y * blocksizey));
        }
View Full Code Here

TOP

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

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.