Packageorg.ffilmation.engine.interfaces
Interfacepublic interface fEngineSceneController

This interface defines methods that any class that is to be used as an scene controller must implement. An scene controller is used to program specific behaviours associated to an scene.



Public Methods
 MethodDefined by
  
assignScene(scene:fScene):void
This is the initialization method
fEngineSceneController
  
disable():void
This is used to disable the controller.
fEngineSceneController
  
enable():void
This is used to enable the controller.
fEngineSceneController
Method detail
assignScene()method
public function assignScene(scene:fScene):void

This is the initialization method

Parameters
scene:fScene — 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