Commit Graph

28 Commits

Author SHA1 Message Date
Maxmtg
b0e7d92dea Turn counting removed from GameState (cause phaseHandler already did it)
Inlined some static methods called from phaseHandler
PhaseType: index is not a field, yet the order is set by a list initialized statically
GetLabelForPhase - moved to VField from PhaseUtil
Game has a method to determine the next player who takes turn/priority after the given one.
2012-10-20 12:29:48 +00:00
Maxmtg
e7983cf9e1 getGameState => getGame
Stack zone uses its own class Zone (which has no owner obv.)
2012-10-19 23:55:27 +00:00
Maxmtg
c92faa2d87 1. MatchController contains inputControl, subscribes listeners to event by itself
2. most of AllZone methods static moved into instances, consider retrieving frequently used values into class fields or local variables
2012-10-19 22:39:09 +00:00
Maxmtg
da1e300ab0 GetGameLog inlined 2012-10-18 15:30:39 +00:00
Maxmtg
a2cf0d29d5 A huge amount of AllZone static methods was inlined (so that people see how many calls really are there behind AllZone.getXXX, and consider obtaining (for example) GameState value to a local variable) 2012-10-18 14:25:41 +00:00
Maxmtg
db83c0020a massively moved static methods from AllZoneUtil to GameState - they must become non-static once (to support multiple games running at a time) 2012-10-18 14:10:15 +00:00
Maxmtg
50620c07e2 Removed hardcoded players 2012-10-18 08:20:29 +00:00
Doublestrike
e69ecb7abc Match UI multiplayer go for takeoff.
- Up to 8 fields can be used
- Up to 4 hands can be used
- Multiplayer submenu added in home screen

Please delete your old match_preferred.xml layout; old match layouts are invalid.
2012-10-13 07:01:29 +00:00
Maxmtg
16ec02124c CardListUtil => CardLists (as they call Collections class) 2012-10-05 20:28:26 +00:00
Maxmtg
013ddee250 CardList class replaced by java.util.(Array)List<Card> 2012-10-01 23:32:48 +00:00
Maxmtg
de56fd0cc5 CardList class stripped, preparing to remove it 2012-10-01 22:47:12 +00:00
Maxmtg
c34eabdb6e Removal of forge.util.closures.Predicate in favour of guava implementation 2012-09-28 06:53:56 +00:00
Maxmtg
6c185b4b12 Predicate: isTrue renamed to apply, this class now implements com.google.common.base.Predicate (Guava iterables may use them now) 2012-09-25 20:03:24 +00:00
Maxmtg
cc0351db74 refactor CardList to use Predicates and have less methods (to replace it later with pure List<Card>) and perform any special actions (filtering, cmc calculation, max creture power, etc) with predicates 2012-09-23 10:16:24 +00:00
Maxmtg
7786ef990d CardListFilter replaced with Predicate<Card> 2012-09-23 08:10:27 +00:00
Sloth
8a0fc69a7f - Removed a lot of copies of "updateObservers()" (please report if you see anything funny). 2012-07-28 19:17:59 +00:00
Sloth
de7f64248d - Fixed NumLandsPlayed not being reset in Cleanup. 2012-07-11 16:42:02 +00:00
moomarc
c83337950d Added Ember Beast, Jackal Familiar and Mogg Flunkies.
Added CARDNAME can't attack or block alone keyword.
2012-07-11 14:45:37 +00:00
Sloth
fc3339f1fa - Fixed multiple instances of Exalted on a single card not working. 2012-07-08 08:33:36 +00:00
Sol
03f1f0ab92 - Quest Tokens that start the game in play now don't flush summoning sickness until their controller's second turn 2012-07-06 02:14:49 +00:00
Doublestrike
975d7c2bb7 Added turn counter to message info. 2012-05-26 00:52:25 +00:00
Sloth
53e237283f - Added Empty City Ruse and False Peace. 2012-05-03 11:42:58 +00:00
Sloth
e3059d2659 - Added Savor the Moment. 2012-05-02 20:45:53 +00:00
Doublestrike
7faff76b3f Boom - it's landed.
Draggable layout for match UI.
2012-04-14 08:29:21 +00:00
Chris
ed1915fba8 - CheckStyle. 2012-04-09 19:05:04 +00:00
Maxmtg
08888616f7 Zone moved to a personal package 2012-04-07 12:50:31 +00:00
Maxmtg
a0b74add1d moved player-related stuff to a package
Removed unused classes SimpleCombat, ExternalPanel, ImagePreviewPanel, Move
2012-04-07 09:53:23 +00:00
Maxmtg
d8e5a8011c Gathered phase-related classes in a package 2012-04-07 08:32:53 +00:00