Fix apiary not retaining AuraCharge state

This commit is contained in:
mezz committed 2015-03-28 02:51:41 -07:00
1 parent 051cc96514
commit 0fd8b319de
9 files changed
+341 -173

No files matched your search

@@ -0,0 +1,4 @@
package magicbees.api.bees;
public interface IAuraChargeType {
}
@@ -15,23 +15,32 @@ public interface IMagicApiaryAuraProvider {
*
* @return True if a charge is given; false otherwise.
*/
public boolean getMutationCharge();
boolean getMutationCharge();
/**
* Requests a mutation charge from the aura provider. If true is returned, the
* aura provider should decrement its internal charge by one. If there are no
* charges remaining, it should return false.
*
*
* @return True if a charge is given; false otherwise.
*/
public boolean getDeathRateCharge();
boolean getDeathRateCharge();
/**
* Requests a mutation charge from the aura provider. If true is returned, the
* aura provider should decrement its internal charge by one. If there are no
* charges remaining, it should return false.
*
*
* @return True if a charge is given; false otherwise.
*/
public boolean getProductionCharge();
boolean getProductionCharge();
/**
* Requests a mutation charge from the aura provider. If true is returned, the
* aura provider should decrement its internal charge by one. If there are no
* charges remaining, it should return false.
*
* @return True if a charge is given; false otherwise.
*/
boolean getCharge(IAuraChargeType auraChargeType);
}