Aidan Brady | 7a16e9a | 2013-04-13 10:35:13 -0400 | [diff] [blame] | 1 | /** |
| 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info |
| 3 | * Copyright Daniel Ratcliffe, 2011-2013. This API may be redistributed unmodified and in full only. |
| 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. |
| 5 | */ |
| 6 | |
| 7 | package dan200.turtle.api; |
| 8 | |
| 9 | /** |
| 10 | * An enum representing the two different actions that an ITurtleUpgrade of type |
| 11 | * Tool may be called on to perform by a turtle. |
| 12 | * @see ITurtleUpgrade |
| 13 | * @see ITurtleUpgrade#useTool |
| 14 | */ |
| 15 | public enum TurtleVerb |
| 16 | { |
| 17 | /** |
| 18 | * The turtle called turtle.dig(), turtle.digUp() or turtle.digDown() |
| 19 | */ |
| 20 | Dig, |
| 21 | |
| 22 | /** |
| 23 | * The turtle called turtle.attack(), turtle.attackUp() or turtle.attackDown() |
| 24 | */ |
| 25 | Attack, |
| 26 | } |