Packageorg.ffilmation.engine.interfaces
Interfacepublic interface fEngineElementController

This interface defines methods that any class that is to be used as an element controller must implement. Examples of element controllers: keyboard controller, mouse controller, AI controller, control from socket ( to implement multiplayer ), etc



Public Methods
 MethodDefined by
  
assignElement(element:fElement):void
This is the initialization method
fEngineElementController
  
disable():void
This is used to disable the controller.
fEngineElementController
  
enable():void
This is used to enable the controller.
fEngineElementController
Method detail
assignElement()method
public function assignElement(element:fElement):void

This is the initialization method

Parameters
element:fElement — The fElement that will be controlled by this class.
disable()method 
public function disable():void

This is used to disable the controller. In complex applications, you will want to enable / disable controllers as you enter / leave scenes, when you trigger a cutscene, pause your game, go to the Options menu, etc etc

enable()method 
public function enable():void

This is used to enable the controller. In complex applications, you will want to enable / disable controllers as you enter / leave scenes, when you trigger a cutscene, pause your game, go to the Options menu, etc etc