Until

Aus Scientia
Wechseln zu: Navigation, Suche

Vorlage:Syntax

Erklärung

"Until x" ist ein Synonym für "while not x".

Code

def phase3_next_actor
   begin
     if @active_battler != nil
       @active_battler.blink = false
     end
     if @actor_index == $game_party.actors.size-1
       start_phase4
       return
     end
     @actor_index += 1
     @active_battler = $game_party.actors[@actor_index]
     @active_battler.blink = true
   end until @active_battler.inputable?
   phase3_setup_command_window
 end

Links