Class PowerBlockInspector
java.lang.Object
nl.pim16aap2.animatedarchitecture.core.tooluser.ToolUser
nl.pim16aap2.animatedarchitecture.core.tooluser.PowerBlockInspector
Represents a type of
ToolUser that tries to find powerblocks based on the locations provided by the user.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class nl.pim16aap2.animatedarchitecture.core.tooluser.ToolUser
ToolUser.Context -
Field Summary
Fields inherited from class nl.pim16aap2.animatedarchitecture.core.tooluser.ToolUser
animatedArchitectureToolUtil, localizer, protectionHookManager, stepFactory, textFactory, toolUserManager -
Constructor Summary
ConstructorsConstructorDescriptionPowerBlockInspector(ToolUser.Context context, PowerBlockManager powerBlockManager, IPlayer player, boolean bypassPermission) -
Method Summary
Modifier and TypeMethodDescriptionGenerates the list ofSteps that together will make up theToolUser.procedure.protected booleaninspectLoc(ILocation loc) toString()Methods inherited from class nl.pim16aap2.animatedarchitecture.core.tooluser.ToolUser
abort, assertLockHeld, cleanUpProcess, getAllSteps, getCurrentStep, getCurrentStepMessage, getPlayer, giveTool, goToNextStep, handleInput, handleInputWithLock, init, insertStep, isActive, playerHasAccessToCuboid, playerHasAccessToLocation, playerHasTool, prepareCurrentStep, removeTool, runWithLock, sendMessage, sendMessage, setPlayerHasTool, skipToStep, toMinimalString
-
Constructor Details
-
PowerBlockInspector
@AssistedInject public PowerBlockInspector(ToolUser.Context context, PowerBlockManager powerBlockManager, @Assisted IPlayer player, @Assisted boolean bypassPermission)
-
-
Method Details
-
inspectLoc
-
generateSteps
Description copied from class:ToolUserGenerates the list ofSteps that together will make up theToolUser.procedure.- Specified by:
generateStepsin classToolUser- Returns:
- The list of
Steps that together will make up theToolUser.procedure. - Throws:
InstantiationException- When a step's factory is incomplete or otherwise invalid.
-
toString
-