Class: abstract
FController
The base class for all 2D and 3D controllers in Fibbo.
Constructors
new FController()
new FController(
options
):FController
Parameters
• options: FControllerOptions
The options for the controller.
Returns
Defined in
Methods
frame()
abstract
frame(delta
):void
Update the controller. Should be called every frame. The purpose of this method is to update the component transform based on the controller logic.
Parameters
• delta: number
The time since the last frame.
Returns
void
Defined in
Properties
component
component:
FComponent
The component attached to the controller.