Commit Graph

29 Commits (2733516cb9cdad7ac4cef98b819d4d01846e5c66)

Author SHA1 Message Date
Leandro Doctors 2733516cb9 Organize imports 2020-01-16 08:21:24 +08:00
melvinzhang 6a73b1a480 remove MagicCopyable from classes which do not need to be copied 2017-07-28 11:03:54 +08:00
lodici ea3115b913 remove redundant modifiers from interface methods (pmd:UnusedModifier). 2017-04-07 20:22:52 +01:00
melvinzhang 89de21c617 change MagicTargetFilter.filter's first parameter from MagicGame to MagicSource to provide more context 2015-04-14 17:27:47 +08:00
ShawnieBoy 12d812ca74 Import tidyup for magic.model and magic.model.action 2014-04-18 14:58:52 +01:00
melvin a471bcb68d make MagicMappable generic to remove casting in MagicSourceActivation, replace MagicPermanent's chosenTarget with chosenPlayer 2013-07-09 10:52:50 +08:00
melvin 9cfdfbcd2d replace getActivations with getSourceActivations, removed MagicActivationMap 2013-07-07 21:16:11 +08:00
melvin f1b27c586c convert to UNIX line endings 2013-04-13 10:32:25 +08:00
melvin e9b36628d2 move hasColor and hasAbility from MagicSource to MagicObject 2012-10-13 11:15:28 +08:00
melvin 8719a91513 replace MagicSource.getColorFlags with hasColor 2012-10-09 17:16:11 +08:00
melvin d08f7c6a2f remove getCostEvent from MagicSource 2012-10-08 23:02:16 +08:00
melvin 5688a84a02 added getCostEvent to MagicSource 2012-10-08 22:18:01 +08:00
melvin 3032d1ac19 added MagicObject to represent common methods shared between MagicSource and MagicTarget 2012-10-04 21:16:35 +08:00
melvin 40fca06a61 removed MagicColorType 2012-07-03 17:07:46 +08:00
melvin af844e58b7 compute mana cost of a card through MagicLayer 2012-06-22 17:31:48 +08:00
melvin 14ccd4a165 convert tabs to four spaces 2012-06-16 22:55:26 +08:00
melvin e25e1278f2 change hasAbility(game,ability) to hasAbility(ability) 2012-06-03 17:29:52 +08:00
melvin 3df113791d change getColorFlags(game) to getColorFlags() 2012-06-03 17:26:44 +08:00
melvin c389a6ec86 MagicPermament can refer to the containing MagicGame instance, refactor isCreature to remove the MagicGame parameter 2012-06-03 17:19:02 +08:00
melvin 487dbc2cb8 added game as argument 2011-09-18 22:46:59 +08:00
melvin 92eaecee9e removed redundant modifiers, added final annotation 2011-09-08 17:23:22 +08:00
melvin f060f0ffdb changed MagicSource.NONE to MagicGame.NO_SOURCE 2011-09-03 22:52:27 +08:00
melvin bf696b6aa1 added MagicSource.NONE 2011-09-03 21:38:15 +08:00
melvin f9ea4973ad Added isCreature to MagicSource 2011-08-15 12:10:13 +08:00
melvin 850d01d3d1 optimized import statements with IntelliJ 2011-08-10 23:28:35 +08:00
melvin 430aa95843 moved getId to MagicMappable 2011-07-01 11:29:52 +08:00
melvin 18029e332a added long getId 2011-06-19 15:27:45 +08:00
melvin b0b9a93626 removed empty lines add space between operators 2011-06-19 14:30:48 +08:00
ubeefx 7fd13965b2 Initial version. 2010-11-21 18:54:59 +00:00