Differences

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

Link to this comparison view

component:world_sensor [2015/04/09 02:14]
rashy created
component:world_sensor [2015/04/09 06:04] (current)
rashy
Line 1: Line 1:
 World Sensor World Sensor
 ============== ==============
 +
 +This component is provided by the [[item:​world_sensor_upgrade|World Sensor Upgrade]].
 +
 +Component name: `world_sensor`.
 +
 +Callbacks:
 +
 +- `isGasPresent(gas:​string):​boolean`  ​
 +  Gets whether the world the device is currently in has the specified gas.
 +- `getGravity():​number`  ​
 +  Gets the gravity of the world that the device is currently in.
 +- ` hasBreathableAtmosphere():​boolean`  ​
 +  Gets whether the world that the device is in has a breathable atmosphere.
 +- `getWindLevel():​number`  ​
 +  Gets the wind level of the world that the device is currently in. 
 +
  
 Contents Contents
 ----------- -----------
 {{page>​component:​contents&​noheader&​noeditbutton&​nouser&​nofooter}} {{page>​component:​contents&​noheader&​noeditbutton&​nouser&​nofooter}}