예제 #1
0
    public void Init(cgBoard _board, CanMove _canMove, PieceMoveHandler _handler)
    {
        m_Board            = _board;
        m_CanMove          = _canMove;
        m_PieceMoveHandler = _handler;

        FlipBoard(false);

        UpdateBoard();
    }
예제 #2
0
 public void AddMoveHandler(PieceMoveHandler moveHandler)
 {
     mHandlerList.Add(moveHandler);
 }