public void BeforeCharacterUpdate(float deltaTime) { brain.Think(out inputs); CurrentState.BeforeCharacterUpdate(deltaTime); CurrentState.OnStateUpdate(); }
public void Look() { EnsureHwnd(); var board = GetBoard(); var viewInfo = new ViewInfo { BoardHeight = boardHeight, BoardWidth = boardWidth, CellSize = cellSize, Hwnd = hwnd, }; brain.Think(viewInfo, board); }