Java Code Examples for com.megacrit.cardcrawl.ui.panels.EnergyPanel#getCurrentEnergy()
The following examples show how to use
com.megacrit.cardcrawl.ui.panels.EnergyPanel#getCurrentEnergy() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FlowPower.java From FruityMod-StS with MIT License | 4 votes |
@Override public void atEndOfTurn(boolean isPlayer) { if (isPlayer) { energyRetained = EnergyPanel.getCurrentEnergy(); } }
Example 2
Source File: DefaultCustomVariable.java From StS-DefaultModBase with MIT License | 4 votes |
@Override public int value(AbstractCard card) { return card.damage * EnergyPanel.getCurrentEnergy(); }
Example 3
Source File: DefaultCustomVariable.java From StS-DefaultModBase with MIT License | 4 votes |
@Override public int baseValue(AbstractCard card) { return card.baseDamage * EnergyPanel.getCurrentEnergy(); }