Performed initial cleaning to BloodAltar/TileAltar and migrated all logic from the Tile to the BloodAltar class.

This commit is contained in:
WayofTime 2015-12-22 20:32:25 -05:00
parent 0f26cbedd7
commit 4145b2a11c
4 changed files with 558 additions and 442 deletions

View file

@ -25,6 +25,12 @@ public interface IBloodAltar {
void startCycle();
void checkTier();
boolean isActive();
void setActive();
int fillMainTank(int amount);
/**
* Will set the altar to initiate a cooldown cycle after it crafts before starting to craft again, giving the user time to interact with the altar.
@ -33,10 +39,4 @@ public interface IBloodAltar {
* @param cooldown - How long the cooldown should last
*/
void requestPauseAfterCrafting(int cooldown);
void addToDemonBloodDuration(int dur);
boolean hasDemonBlood();
void decrementDemonBlood();
}