Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.ECBehaviorTwoStateAnimated.BooleanListener Class Reference

Implementation of behavior instance listener using BooleanBehaviorListener. More...

Inheritance diagram for Dragengine.Scenery.ECBehaviorTwoStateAnimated.BooleanListener:
Dragengine.Scenery.ECBehaviorTwoStateAnimated.DefaultListener Dragengine.Scenery.ECBehaviorTwoStateAnimated.Listener

Public Member Functions

BooleanListener new (BooleanBehaviorListener listener)
 Create boolean listener operating on stopActivate() and startDeactivate(). More...
 
BooleanListener new (BooleanBehaviorListener listener, bool full)
 Create boolean listener. More...
 
void startActivate (Instance instance)
 Start transition from deactivated state to activated state. More...
 
void startDeactivate (Instance instance)
 Start transition from activated state to deactivated state. More...
 
void stopActivate (Instance instance)
 Finished transition from deactivated state to activated state. More...
 
void stopDeactivate (Instance instance)
 FInished transition from activated state to deactivated state. More...
 
- Public Member Functions inherited from Dragengine.Scenery.ECBehaviorTwoStateAnimated.DefaultListener
void animationApplied (Instance instance)
 Animation has been applied. More...
 
DefaultListener new ()
 Create default listener. More...
 
void updateControllers (Instance instance, float elapsed)
 Update controllers if required. More...
 

Public Attributes

bool pFull
 
BooleanBehaviorListener pListener
 

Detailed Description

Implementation of behavior instance listener using BooleanBehaviorListener.

Member Function Documentation

◆ new() [1/2]

BooleanListener Dragengine.Scenery.ECBehaviorTwoStateAnimated.BooleanListener.new ( BooleanBehaviorListener  listener)

Create boolean listener operating on stopActivate() and startDeactivate().

◆ new() [2/2]

BooleanListener Dragengine.Scenery.ECBehaviorTwoStateAnimated.BooleanListener.new ( BooleanBehaviorListener  listener,
bool  full 
)

Create boolean listener.

Parameters
fullIf true operates on startActivate() and stopDeactivate() otherwise operates on stopActivate() and startDeactivate().

◆ startActivate()

void Dragengine.Scenery.ECBehaviorTwoStateAnimated.BooleanListener.startActivate ( Instance  instance)

Start transition from deactivated state to activated state.

Reimplemented from Dragengine.Scenery.ECBehaviorTwoStateAnimated.DefaultListener.

◆ startDeactivate()

void Dragengine.Scenery.ECBehaviorTwoStateAnimated.BooleanListener.startDeactivate ( Instance  instance)

Start transition from activated state to deactivated state.

Reimplemented from Dragengine.Scenery.ECBehaviorTwoStateAnimated.DefaultListener.

◆ stopActivate()

void Dragengine.Scenery.ECBehaviorTwoStateAnimated.BooleanListener.stopActivate ( Instance  instance)

Finished transition from deactivated state to activated state.

Reimplemented from Dragengine.Scenery.ECBehaviorTwoStateAnimated.DefaultListener.

◆ stopDeactivate()

void Dragengine.Scenery.ECBehaviorTwoStateAnimated.BooleanListener.stopDeactivate ( Instance  instance)

FInished transition from activated state to deactivated state.

Reimplemented from Dragengine.Scenery.ECBehaviorTwoStateAnimated.DefaultListener.

Member Data Documentation

◆ pFull

bool Dragengine.Scenery.ECBehaviorTwoStateAnimated.BooleanListener.pFull

◆ pListener

BooleanBehaviorListener Dragengine.Scenery.ECBehaviorTwoStateAnimated.BooleanListener.pListener

The documentation for this class was generated from the following file: