import type { CoreState , EnemyAi } from '../components/Game/Game.jsx' ; type BurgAiState = 'S' | 'Z' ; export const burgAi = ( currentCoreState , currentAiState , getNextCoreStates ) : [ string , BurgAiState ] => { if ( currentAiState === undefined ) { currentAiState = 'S' ; } return [ currentAiState , currentAiState === 'S' ? 'Z' : 'S' ] ; } ;