Examples of LittleBuildingEvent


Examples of com.jcloisterzone.event.LittleBuildingEvent

        int buildingCount = getBuildingsCount(player, lbType);
        if (buildingCount == 0) {
            throw new IllegalStateException("Player hasn't " + lbType.name() + " building.");
        }
        setBuildingsCount(player, lbType, buildingCount - 1);
        game.post(new LittleBuildingEvent(player, lbType));
    }
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.