示例#1
0
    public void BeforeCharacterUpdate(float deltaTime)
    {
        brain.Think(out inputs);
        CurrentState.BeforeCharacterUpdate(deltaTime);

        CurrentState.OnStateUpdate();
    }
示例#2
0
        public void Look()
        {
            EnsureHwnd();

            var board = GetBoard();

            var viewInfo = new ViewInfo
            {
                BoardHeight = boardHeight,
                BoardWidth  = boardWidth,
                CellSize    = cellSize,
                Hwnd        = hwnd,
            };

            brain.Think(viewInfo, board);
        }