export function GetContextualCommandSuggestion ( encounterEmpty , librariesVisible , encounterActive ) { if ( encounterEmpty ) { if ( librariesVisible ) { return "listing" ; } else { return "add-creatures" ; } } if ( ! encounterActive ) { return "start-encounter" ; } if ( librariesVisible ) { return "hide-libraries" ; } return "next-turn" ; }