| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdan200.turtle.api.TurtleAPI
public class TurtleAPI
The static entry point to the ComputerCraft Turtle Upgrade API. Members in this class must be called after mod_CCTurtle has been initialised, but may be called before it is fully loaded.
| Constructor Summary | |
|---|---|
| TurtleAPI() | |
| Method Summary | |
|---|---|
| static void | registerUpgrade(ITurtleUpgrade upgrade)Registers a new turtle upgrade for use in ComputerCraft. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TurtleAPI()
| Method Detail | 
|---|
public static void registerUpgrade(ITurtleUpgrade upgrade)
java.lang.Exception - if you try to register an upgrade with an already used or reserved upgradeIDITurtleUpgrade| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||