Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
addon:thutconcrete:elevator [2014/07/25 14:39]
vexatos created
addon:thutconcrete:elevator [2015/01/14 23:40] (current)
Line 3: Line 3:
 This component can be accessed by connecting an Elevator Control to a Computer. This component can be accessed by connecting an Elevator Control to a Computer.
  
-Component name: `elevator`.+Component name: `elevator`. ​ 
 Callbacks: Callbacks:
  
Line 9: Line 9:
   Tries to call the elevator to a certain floor. Returns `true` on success, `false` and an error message otherwise.   Tries to call the elevator to a certain floor. Returns `true` on success, `false` and an error message otherwise.
 - `isReady():​boolean`  ​ - `isReady():​boolean`  ​
-  Returns `true` if the elevator can be called, `false` if it can'​t ​(because it is still moving).+  Returns `true` if the elevator can be called, `false` if it can not (because it is already ​moving).
 - `getLocalFloor():​number`  ​ - `getLocalFloor():​number`  ​
   Returns the number of the floor the currently accessed Elevator Control is set to.   Returns the number of the floor the currently accessed Elevator Control is set to.
Line 15: Line 15:
   Returns the number of the floor the elevator is currently at. If the elevator is moving, the function returns the destination floor as its second argument.   Returns the number of the floor the elevator is currently at. If the elevator is moving, the function returns the destination floor as its second argument.
 - `doesFloorExist(floor:​number):​boolean`  ​ - `doesFloorExist(floor:​number):​boolean`  ​
-  Returns `true` if the floor exists and thus can be called; the function returns `false` if the floor doesn'​t ​exist.+  Returns `true` if the floor exists and thus can be called; the function returns `false` if the floor does not exist. 
 + 
 +Contents 
 +----------- 
 +{{page>:​addon:​thutconcrete:​contents&​noheader&​noeditbutton&​nouser&​nofooter}}