Package gaiasky.script.v2.impl
Class APIModule
java.lang.Object
gaiasky.script.v2.impl.APIModule
- Direct Known Subclasses:
BaseModule
,CamcorderModule
,CameraModule
,DataModule
,GeomModule
,GraphicsModule
,InputModule
,InstancesModule
,InteractiveCameraModule
,OutputModule
,RefsysModule
,SceneModule
,TimeModule
,UiModule
Abstract class which contains attributes and methods common to all API modules.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final APIv2
Reference to API object.protected final EventManager
Reference to event manager.protected final Logger.Log
protected final APIModule
Reference to self.protected final String
Module name. -
Constructor Summary
ConstructorsConstructorDescriptionAPIModule
(EventManager em, APIv2 api, String name) Create a new module with the given attributes. -
Method Summary
-
Field Details
-
logger
-
me
Reference to self. -
em
Reference to event manager. -
api
Reference to API object. -
name
Module name.
-
-
Constructor Details
-
APIModule
Create a new module with the given attributes.- Parameters:
api
- Reference to the API class.name
- Name of the module.
-
-
Method Details
-
dispose
public void dispose()Method called whenever the module is disposed. To be overwritten if necessary.
-