mage/Mage.Server.Plugins
Alex Vasile a2162ec3e7
Refactor: private fields and performance tweaks (#9625)
1a. Make `costs`, `manaCosts`, and `manaCostsToPay` private in `AbilityImpl` with access through getters/setters 
1b. fix cost adjuster for imprinted cards affected by the above

2a. Lazy instantiation for rarely used `data` field in `TargetPointerImpl`

3a. Pre-allocate certain array sizes in `Modes` and `CostsImpl`

4a. Make `manaTemplate` private in `BasicManaEffect`, copy when passing outside the class 
4b. Don't copy `manaTemplate` in copy constructor since it doesn't change 
4c. Add comments explaining copy usage for `manaTemplate` 
4d. Remove redundant variable assignment and make fields final 

---------

Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2023-08-27 17:58:19 -04:00
..
Mage.Deck.Constructed update modern/legacy banlists (#10779) 2023-08-11 08:57:48 -04:00
Mage.Deck.Limited Basic groundwork for extra decks (contraptions, attractions) (#10378) 2023-08-06 21:06:32 -04:00
Mage.Game.BrawlDuel [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Game.BrawlFreeForAll [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Game.CanadianHighlanderDuel code style: eliminate unnecessary static imports (#10585) 2023-07-08 13:08:28 -04:00
Mage.Game.CommanderDuel [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Game.CommanderFreeForAll [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Game.CustomPillarOfTheParunsDuel refactor: improved usage of one time turn modifications (skip step, extra turn, etc) 2023-07-31 20:16:28 +04:00
Mage.Game.FreeForAll refactor: expose startingHandSize in GameImpl constructor. (#10629) 2023-07-16 18:36:26 +04:00
Mage.Game.FreeformCommanderDuel [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Game.FreeformCommanderFreeForAll [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Game.FreeformUnlimitedCommander Improvements to limited with Freeform Unlimited Commander (#10114) 2023-06-07 19:05:37 -04:00
Mage.Game.MomirDuel refactor: improved usage of one time turn modifications (skip step, extra turn, etc) 2023-07-31 20:16:28 +04:00
Mage.Game.MomirGame refactor: improved usage of one time turn modifications (skip step, extra turn, etc) 2023-07-31 20:16:28 +04:00
Mage.Game.OathbreakerDuel [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Game.OathbreakerFreeForAll [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Game.PennyDreadfulCommanderFreeForAll [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Game.TinyLeadersDuel [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Game.TwoPlayerDuel refactor: improved usage of one time turn modifications (skip step, extra turn, etc) 2023-07-31 20:16:28 +04:00
Mage.Player.AI Refactor: removed server side objects from a client side game's data (#10788) 2023-08-24 12:04:07 +04:00
Mage.Player.AI.DraftBot [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Player.AI.MA Refactor: private fields and performance tweaks (#9625) 2023-08-27 17:58:19 -04:00
Mage.Player.AIMCTS Refactor: private fields and performance tweaks (#9625) 2023-08-27 17:58:19 -04:00
Mage.Player.AIMinimax Refactor: private fields and performance tweaks (#9625) 2023-08-27 17:58:19 -04:00
Mage.Player.Human game: added runtime check for empty choice dialogs 2023-08-25 19:07:32 +04:00
Mage.Tournament.BoosterDraft Merge fix 2023-06-07 19:36:55 -04:00
Mage.Tournament.Constructed [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
Mage.Tournament.Sealed [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
pom.xml game: added Pillar of the Paruns custom mode (#10633) 2023-07-18 08:55:46 +04:00