Package de.zelosfan.timedstrategy.entity

Examples of de.zelosfan.timedstrategy.entity.Entitytyp


    public static ObjectMap<Entity, Entity> targetedEntities = new ObjectMap<>();
    public static ObjectMap<Entity, Tile> targetedTiles = new ObjectMap<>();

    public static void buildUnit(Building building) {
        if (building.tiletyp instanceof BuildingFactory) {
            Entitytyp entitytyp =  Repository.entitytypObjectMap.values().toArray().get((RandomUtil.getNanoRandom().nextInt(Repository.entitytypObjectMap.size)));


            if (Game.redTeam.moneydeduct(entitytyp.cost)) {
                building.obj = entitytyp;
            }
View Full Code Here

TOP

Related Classes of de.zelosfan.timedstrategy.entity.Entitytyp

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.