mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
Minor changes to AI logging.
This commit is contained in:
parent
0cf25a5c8e
commit
27d441de0a
3 changed files with 41 additions and 19 deletions
|
|
@ -43,8 +43,8 @@ import mage.game.permanent.Permanent;
|
|||
public class PermanentEvaluator {
|
||||
|
||||
//preserve calculations for efficiency
|
||||
private Map<UUID, Integer> values = new HashMap<UUID, Integer>();
|
||||
private CombatEvaluator combat = new CombatEvaluator();
|
||||
private final Map<UUID, Integer> values = new HashMap<>();
|
||||
private final CombatEvaluator combat = new CombatEvaluator();
|
||||
|
||||
public int evaluate(Permanent permanent, Game game) {
|
||||
if (!values.containsKey(permanent.getId())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue