示例#1
0
        static void Main(string[] args)
        {
            DllInterface.setCall_msg(fun_msg);
            DllInterface.setCall_enterPlannerMode(fun_enterPlannerMode);
            DllInterface.setCall_getCoords(fun_getCoords);
            DllInterface.setEvent_boardCreated(fun_boardCreated);
            DllInterface.setEvent_playerMoved(fun_playerMoved);
            InitData initData = new InitData {
                player1type = PlayerType.HUMAN,
                player2type = PlayerType.AI
            };

            DllInterface.runProgram(initData);
        }