Difference between revisions of "Advanced Computer"
From ComputerCraft Wiki
m (Re-integrated peripheral functions.) |
(→Exclusive Functions: Added Mouse and touches to exclusive functions for advanced computers.) |
||
Line 17: | Line 17: | ||
==Exclusive Functions== | ==Exclusive Functions== | ||
[[File:AdvancedComputerPaint.png|frame|right|An advanced computer running Paint, an exclusive program]] | [[File:AdvancedComputerPaint.png|frame|right|An advanced computer running Paint, an exclusive program]] | ||
− | [[Advanced Computer|Advanced Computers]] and [[Advanced Monitor|Advanced Monitors]] both have access to color-setting functions in the [[Term (API)]]. In contrast, the standard [[Computer|Computers]] and [[Monitor|Monitors]] do not have access to color-setting functions. | + | [[Advanced Computer|Advanced Computers]] and [[Advanced Monitor|Advanced Monitors]] both have access to color-setting functions in the [[Term (API)]]. In contrast, the standard [[Computer|Computers]] and [[Monitor|Monitors]] do not have access to color-setting functions. Also, advanced computers are able to detect mouse clicks, drags, and scrolls, while the standard [[Computer|Computers]] and [[Monitor|Monitors]] can not. Note that [[Advanced Monitor|Advanced Monitors]] can only detect touch. |
==Exclusive Programs & APIs== | ==Exclusive Programs & APIs== |
Revision as of 03:35, 15 April 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. |