Ejemplo n.º 1
0
    public void Init(cgBoard _board, CanMove _canMove, PieceMoveHandler _handler)
    {
        m_Board            = _board;
        m_CanMove          = _canMove;
        m_PieceMoveHandler = _handler;

        FlipBoard(false);

        UpdateBoard();
    }
Ejemplo n.º 2
0
 public void AddMoveHandler(PieceMoveHandler moveHandler)
 {
     mHandlerList.Add(moveHandler);
 }