package org.luxons.sevenwonders.game;

import java.util.HashMap;
import java.util.Map;

import org.luxons.sevenwonders.game.resources.Resources;

public class Move {

    private String cardName;

    private MoveType moveType;

    private Map<Integer, Resources> boughtResources = new HashMap<>();

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public MoveType getType() {
        return moveType;
    }

    public void setMoveType(MoveType moveType) {
        this.moveType = moveType;
    }

    public Map<Integer, Resources> getBoughtResources() {
        return boughtResources;
    }

    public void setBoughtResources(Map<Integer, Resources> boughtResources) {
        this.boughtResources = boughtResources;
    }
}

@@ -81,16 +81,63 @@
 l.Map;%0A%0A
+import org.luxons.sevenwonders.game.api.Table;%0A
 import o
@@ -207,16 +207,46 @@
 Move %7B%0A%0A
+    private int playerIndex;%0A%0A
     priv
@@ -371,16 +371,182 @@
 p%3C%3E();%0A%0A
+    public int getPlayerIndex() %7B%0A        return playerIndex;%0A    %7D%0A%0A    public void setPlayerIndex(int playerIndex) %7B%0A        this.playerIndex = playerIndex;%0A    %7D%0A%0A
     publ
@@ -1073,11 +1073,98 @@
 s;%0A    %7D
+%0A%0A    public boolean isValid(Table table) %7B%0A        // TODO%0A        return false;%0A    %7D
 %0A%7D%0A

Add playerIndex and validation method to the Move itself