ClickController
Extends:
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
Was the left button pressed on this click area? |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
Was the right button pressed on this click area? |
|
| public |
viewportID: * |
|
Inherited Summary
| From class Updateable | ||
| public |
deregister: * |
|
| public |
|
|
| public |
|
|
| public |
id: * |
|
| public |
Cleanup code for when destroying an Updateable. |
|
| public |
end() Base call function for when this Updateable is to be ended. |
|
| public |
onEnd() Called when the object is being removed or cleaned up from usage. |
|
| public |
onPause() Called when the object is intended to be paused. |
|
| public |
onStart() Called when the the object is first introduced. |
|
| public |
Called when the object is to be unpaused from paused state. |
|
| public |
onUpdate() Called on every update within the game, once the object has had onStart called. |
|
| public |
pause() Base call function for when this Updateable is to be paused. |
|
| public |
start() Base call function for when this Updateable is to be started. |
|
| public |
unpause() Base call function for when this Updateable is to be unpaused. |
|
| public |
update() Base call function for when this Updateable is to be updated. |
|
| From class Component | ||
| public |
|
|
| public |
isUnique: * |
|
| public |
Called when the component is successfully added to a GameObject. |
|
Public Constructors
public constructor() source
Constructor for Base Components. Requires a boolean to indicate if a GameObject can contain multiple components of this type.
Override:
Controller#constructorPublic Members
public onLeftPressed: * source
public onLeftReleaseOutside: * source
public onLeftReleased: * source
public onRightPressed: * source
public onRightReleaseOutside: * source
public onRightReleased: * source
public viewportID: * source
Public Methods
public onEnd() source
Called when the object is being removed or cleaned up from usage.
Override:
Updateable#onEndpublic onUpdate() source
Called on every update within the game, once the object has had onStart called.
