mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 21:42:07 -08:00
Inner classes should be static. It reduces memory usage and gives perfomance boost + DeckImporter rollback
This commit is contained in:
parent
04973ea5aa
commit
0a3c95dde5
135 changed files with 582 additions and 642 deletions
|
|
@ -27,7 +27,6 @@
|
|||
*/
|
||||
package mage.abilities.common;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.ActivatedAbilityImpl;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.abilities.costs.Cost;
|
||||
|
|
@ -37,13 +36,15 @@ import mage.constants.Zone;
|
|||
import mage.game.Game;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class LimitedTimesPerTurnActivatedAbility extends ActivatedAbilityImpl {
|
||||
|
||||
class ActivationInfo {
|
||||
static class ActivationInfo {
|
||||
|
||||
public int turnNum;
|
||||
public int activationCounter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue