Package civquest.map.resource.gameChange

Examples of civquest.map.resource.gameChange.SetDistributionConsumer


             .isSmaller(neededRes.getAmount(resName), amount));

        // Maybe TODO: Make this more efficient (executing GameChanges
        // all the time in such a loop is not really necessary)

        SetDistributionConsumer change = SetDistributionConsumer
          .constructAddSetDistributionConsumer
          (consumer, resName, amount, distributing);
        change.execute();

//         resourceDistribution.addAmountForConsumer(consumer,
//                               resName, amount);
        resources.subFromThis(resName, amount);
        return true;
View Full Code Here

TOP

Related Classes of civquest.map.resource.gameChange.SetDistributionConsumer

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.