Difference between revisions of "Advanced Computer"
From ComputerCraft Wiki
(→Exclusive Functions: Added Mouse and touches to exclusive functions for advanced computers.) |
TheVarmari (Talk | contribs) m (Linked functions) |
||
Line 31: | Line 31: | ||
!style="background:#EEE" width="*"|Description | !style="background:#EEE" width="*"|Description | ||
|- | |- | ||
− | |computer.turnOn() | + | |[[computer.turnOn()]] |
|Turns on the Computer or Turtle. | |Turns on the Computer or Turtle. | ||
|- | |- | ||
− | |computer.shutdown() | + | |[[computer.shutdown()]] |
|Shuts off the Computer or Turtle. | |Shuts off the Computer or Turtle. | ||
|- | |- | ||
− | |computer.reboot() | + | |[[computer.reboot()]] |
|Reboots the Computer or Turtle. | |Reboots the Computer or Turtle. | ||
|- | |- | ||
− | |computer.getID() | + | |[[computer.getID()]] |
|Gets the ID of the Computer or Turtle. | |Gets the ID of the Computer or Turtle. | ||
|} | |} | ||
[[Category:Blocks]][[Category:Consoles]] | [[Category:Blocks]][[Category:Consoles]] |
Revision as of 02:29, 12 May 2013
The Advanced Computer is a computer that has mouse and colour API support. More exclusive features may be added in another update. They resemble the traditional computer console, but are golden coloured to match their crafting recipe.
Recipe
Exclusive Functions
Advanced Computers and Advanced Monitors both have access to color-setting functions in the Term (API). In contrast, the standard Computers and Monitors do not have access to color-setting functions. Also, advanced computers are able to detect mouse clicks, drags, and scrolls, while the standard Computers and Monitors can not. Note that Advanced Monitors can only detect touch.
Exclusive Programs & APIs
Peripheral Functions
computer stands for the variable you wrapped the computer to. Example: computer = peripheral.wrap( "top" )
Method name | Description |
---|---|
computer.turnOn() | Turns on the Computer or Turtle. |
computer.shutdown() | Shuts off the Computer or Turtle. |
computer.reboot() | Reboots the Computer or Turtle. |
computer.getID() | Gets the ID of the Computer or Turtle. |