package controller;

import boundary.PlayerApplication;
import model.PlayerModel;
import model.PlayerState;
import model.Point;
import model.Move;

/**
 * @author Eli Skeggs, Nick Chaput
 */
public class PlayerStartMoveCtrl {
  PlayerApplication app;
  PlayerModel model;

  public PlayerStartMoveCtrl(PlayerApplication app, PlayerModel model) {
    this.app = app;
    this.model = model;
  }

  /**
   * TODO: is there anything in the boundary that needs to get updated?
   */
  public void startMove(Point point) {
    model.playerState = PlayerState.SELECT;
   // System.out.println(model.playerState.toString());
    model.move = new Move();
    model.move.expand(model.level.currentBoard, point);
  }
}

package controller;

import boundary.PlayerApplication;
import model.PlayerModel;
import model.PlayerState;
import model.Point;
import model.Move;

/**
 * @author Eli Skeggs, Nick Chaput
 */
public class PlayerStartMoveCtrl {
  PlayerApplication app;
  PlayerModel model;

  public PlayerStartMoveCtrl(PlayerApplication app, PlayerModel model) {
    this.app = app;
    this.model = model;
  }

  /**
   * TODO: is there anything in the boundary that needs to get updated?
   */
  public void startMove(Point point) {
    model.playerState = PlayerState.SELECT;
    model.move = new Move();
    model.move.expand(model.level.currentBoard, point);
  }
}

Fix errors with mouse leaving boardview during a move and remove error-finding messages
Fix errors with mouse leaving boardview during a move and remove
error-finding messages