public class CreatorSlidingDoor extends Creator
Implementation of the Creator class for the SlidingDoor structure.
  • Constructor Details

  • Method Details

    • generateSteps

      protected List<Step> generateSteps() throws InstantiationException
      Description copied from class: ToolUser
      Generates the list of Steps that together will make up the ToolUser.procedure.
      Specified by:
      generateSteps in class ToolUser
      Returns:
      The list of Steps that together will make up the ToolUser.procedure.
      Throws:
      InstantiationException - When a step's factory is incomplete or otherwise invalid.
    • prepareSetBlocksToMove

      protected void prepareSetBlocksToMove()
      Prepares the step that sets the number of blocks to move.
    • provideBlocksToMove

      protected boolean provideBlocksToMove(int blocksToMove)
    • giveTool

      protected void giveTool()
      Description copied from class: Creator
      Method used to give the AnimatedArchitecture tool to the user.

      Overriding methods may call ToolUser.giveTool(String, String, Text).

      Specified by:
      giveTool in class Creator
    • toString

      public String toString()
      Overrides:
      toString in class Creator