Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
WorldObjectBindings Class Reference
Inheritance diagram for WorldObjectBindings:
[legend]
Collaboration diagram for WorldObjectBindings:
[legend]

Public Member Functions

 WorldObjectBindings (GamePlayScript &script)
 
- Public Member Functions inherited from Bindings
 Bindings (GamePlayScript &gamePlayScript)
 

Protected Member Functions

virtual void bind () override
 
apikey apiPlayerShip ()
 
apikey apiCreateShip (const std::string &name)
 
apikey apiCreateWorldObject (const std::string &name)
 
int apiSpawn (apikey worldObject)
 
int apiRemove (apikey worldObject)
 
int apiSetPosition (apikey worldObject, const glm::vec3 &position)
 
int apiSetOrientation (apikey worldObject, const glm::vec3 &orientation)
 
glm::vec3 apiPosition (apikey worldObject)
 
glm::vec3 apiOrientation (apikey worldObject)
 
int apiSetShowOnHud (apikey worldObject, bool show)
 
int apiSetCanLockOn (apikey worldObject, bool lockon)
 
apikey apiOnWorldObjectDestroyed (apikey worldObject, const std::string &callback)
 
apikey apiOnAABBEntered (apikey worldObject, const glm::vec3 &llf, const glm::vec3 &urb, const std::string &callback)
 

Additional Inherited Members

- Protected Attributes inherited from Bindings
LuaWrapperm_lua
 
GamePlayScriptm_script
 
ScriptEnginem_scriptEngine
 

The documentation for this class was generated from the following files: