engine
Class Block

java.lang.Object
  |
  +--engine.Instruction
        |
        +--engine.DefaultInstruction
              |
              +--engine.Block

public class Block
extends DefaultInstruction

See Also:
Serialized Form

Field Summary
(package private)  DefaultInstruction first
           
 
Fields inherited from class engine.DefaultInstruction
delayBefore, desc, ns, state
 
Fields inherited from class engine.Instruction
next
 
Constructor Summary
Block(NameSpace ns, int delayBefore, InstructionDescription desc, DefaultInstruction first, DefaultInstruction next)
           
 
Method Summary
 void execute()
           
 Instruction next()
           
 java.lang.String toString()
           
 
Methods inherited from class engine.DefaultInstruction
checkIfIsAllowedInFunction, waitToRun
 
Methods inherited from class engine.Instruction
add, append
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

first

DefaultInstruction first
Constructor Detail

Block

public Block(NameSpace ns,
             int delayBefore,
             InstructionDescription desc,
             DefaultInstruction first,
             DefaultInstruction next)
Method Detail

execute

public void execute()
             throws InterpretTimeException,
                    SimulationStoppedException

next

public Instruction next()
Overrides:
next in class Instruction

toString

public java.lang.String toString()
Overrides:
toString in class DefaultInstruction