Remove obsolete adjustCosts and adjustTargets methods from MageObject interface

This commit is contained in:
Alex W. Jackson 2022-03-12 19:01:59 -05:00
parent a5e21b8c9e
commit 79b7a0a627
15 changed files with 13 additions and 116 deletions

View file

@ -116,25 +116,6 @@ public interface MageObject extends MageItem, Serializable, Copyable<MageObject>
void setStartingLoyalty(int startingLoyalty);
/**
* Dynamic cost modification for card (process only OWN abilities).
* <p>
* Usage example: if it need stack related info (like real targets) then must check two
* states (game.inCheckPlayableState):
* <p>
* 1. In playable state it must check all possible use cases (e.g. allow to
* reduce on any available target and modes)
* <p>
* 2. In real cast state it must check current use case (e.g. real selected
* targets and modes)
*
* @param ability
* @param game
*/
void adjustCosts(Ability ability, Game game);
void adjustTargets(Ability ability, Game game);
// memory object copy (not mtg)
@Override
MageObject copy();