2013-04-13 16:35:13 +02:00
|
|
|
/**
|
|
|
|
* This file is part of the public ComputerCraft API - http://www.computercraft.info
|
2014-04-12 19:49:25 +02:00
|
|
|
* Copyright Daniel Ratcliffe, 2011-2014. This API may be redistributed unmodified and in full only.
|
2013-04-13 16:35:13 +02:00
|
|
|
* For help using the API, and posting your mods, visit the forums at computercraft.info.
|
|
|
|
*/
|
|
|
|
|
2014-04-12 19:49:25 +02:00
|
|
|
package dan200.computercraft.api.turtle;
|
2013-04-13 16:35:13 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* An enum representing the two different actions that an ITurtleUpgrade of type
|
|
|
|
* Tool may be called on to perform by a turtle.
|
|
|
|
* @see ITurtleUpgrade
|
|
|
|
* @see ITurtleUpgrade#useTool
|
|
|
|
*/
|
|
|
|
public enum TurtleVerb
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The turtle called turtle.dig(), turtle.digUp() or turtle.digDown()
|
|
|
|
*/
|
|
|
|
Dig,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The turtle called turtle.attack(), turtle.attackUp() or turtle.attackDown()
|
|
|
|
*/
|
|
|
|
Attack,
|
|
|
|
}
|