public void AssignRole(FieldState playerFigure) { this.PlayerFigure = playerFigure; }
public void SetField(FieldState state, int column, int row) { BoardState[column, row] = state; // Check to see if grid is empty before placing }
public AIPlayer(FieldState field, Action <FieldCell> moveFinishCallback, Player identificator) { this.field = field; finishCallback = moveFinishCallback; player = identificator; }
public HumanPlayer(ICellSelectionProvider provider, FieldState fieldState, Action <FieldCell> finishCallback) { selectionProvider = provider; field = fieldState; finishMoveCallback = finishCallback; }