Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.ECBehaviorFootSteps.Configuration Class Reference

Foot step configuration. More...

Inheritance diagram for Dragengine.Scenery.ECBehaviorFootSteps.Configuration:

Public Member Functions

void addEvent (Event event)
 Add event. More...
 
Event findEvent (Block ablock)
 Find event with block receiving argument Event returning true if found. More...
 
void forEachEvent (Block ablock)
 Visit events with block receiving argument Event. More...
 
Event getEventAt (int index)
 Event at index. More...
 
int getEventCount ()
 Number of events. More...
 
String getID ()
 ID. More...
 
float getInterval ()
 Interval in seconds before foot steps repeat. More...
 
Configuration new (String id)
 Create foot steps configuration. More...
 
void removeAllEvents ()
 Remove all events. More...
 
void removeEvent (Event event)
 Remove event. More...
 
void setInterval (float interval)
 Set interval in seconds before foot steps repeat. More...
 

Public Attributes

Array pEvents
 
String pID
 
float pInterval
 

Detailed Description

Foot step configuration.

Stores interval and events for a type of foot steps.

Member Function Documentation

◆ addEvent()

void Dragengine.Scenery.ECBehaviorFootSteps.Configuration.addEvent ( Event  event)

Add event.

◆ findEvent()

Event Dragengine.Scenery.ECBehaviorFootSteps.Configuration.findEvent ( Block  ablock)

Find event with block receiving argument Event returning true if found.

◆ forEachEvent()

void Dragengine.Scenery.ECBehaviorFootSteps.Configuration.forEachEvent ( Block  ablock)

Visit events with block receiving argument Event.

◆ getEventAt()

Event Dragengine.Scenery.ECBehaviorFootSteps.Configuration.getEventAt ( int  index)

Event at index.

◆ getEventCount()

int Dragengine.Scenery.ECBehaviorFootSteps.Configuration.getEventCount ( )

Number of events.

◆ getID()

String Dragengine.Scenery.ECBehaviorFootSteps.Configuration.getID ( )

ID.

◆ getInterval()

float Dragengine.Scenery.ECBehaviorFootSteps.Configuration.getInterval ( )

Interval in seconds before foot steps repeat.

◆ new()

Configuration Dragengine.Scenery.ECBehaviorFootSteps.Configuration.new ( String  id)

Create foot steps configuration.

◆ removeAllEvents()

void Dragengine.Scenery.ECBehaviorFootSteps.Configuration.removeAllEvents ( )

Remove all events.

◆ removeEvent()

void Dragengine.Scenery.ECBehaviorFootSteps.Configuration.removeEvent ( Event  event)

Remove event.

◆ setInterval()

void Dragengine.Scenery.ECBehaviorFootSteps.Configuration.setInterval ( float  interval)

Set interval in seconds before foot steps repeat.

Clamped to 0.1 if smaller.

Member Data Documentation

◆ pEvents

Array Dragengine.Scenery.ECBehaviorFootSteps.Configuration.pEvents

◆ pID

String Dragengine.Scenery.ECBehaviorFootSteps.Configuration.pID

◆ pInterval

float Dragengine.Scenery.ECBehaviorFootSteps.Configuration.pInterval

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