// TODO: Depracate
//	public bool CanMakeMoves() {
//		return gameRule.CanMakeMoves (gameState, _session.Id);
//	}

    private void OnUnitMoved(object sender, MovementEventArgs args)
    {
        TBSUnitGameMove move = new TBSUnitGameMove();

        move.fromCell = args.OriginCell.Location;
        move.toCell   = args.DestinationCell.Location;
        CommitMove(move);
    }
    private void OnPlayerMoveReceived(TBSBaseGameMove move, string rawMessage)
    {
        if (move.type == "unitMove")
        {
            // TODO: have to know whom is this from.

            TBSUnitGameMove m = JsonUtility.FromJson <TBSUnitGameMove> (rawMessage);
            cellGrid.MoveUnit(m.fromCell, m.toCell);
        }
    }