BGO (class)
Revision as of 12:21, 6 April 2015 by Kevsoft (talk | contribs) (Created page with "Category:LunaLua API Category:LunaLua classes This class provides fields/functions for managing BGOs in the current level. {{Class table|BGO class||2= {{Class tabl...")
This class provides fields/functions for managing BGOs in the current level.
| BGO class | |||
|---|---|---|---|
| Type | Function/Field | Return values/Value type | Description |
| Constructor | myBGO = BGO(int internalIndex) | BGO | Construct a new BGO-Object. Only use this constructor with caution. Use BGO.get() instead! |
| Field | BGO.id | int | The BGO-id of the BGO. |
| Field (ro) | BGO.isHidden | int | The BGO-id of the BGO. |
| Field | BGO.x | double | The x coordinate of the BGO. |
| Field | BGO.y | double | The y coordinate of the BGO. |
| Field | BGO.width | double | The width of the BGO. |
| Field | BGO.height | double | The height of the BGO. |
| Field | BGO.speedX | double | The x-speed of the BGO. |
| Field | BGO.speedY | double | The y-speed of the BGO. |
| Field | BGO.layer | Layer | The layer of the BGO. |
| Field | BGO.layerName | string | The layer name of the BGO. |