Drag[en]gine Script Module DragonScript  1.23
Dragengine.Utils.WeightedRandomList.Entry Class Reference

Entry. More...

Inheritance diagram for Dragengine.Utils.WeightedRandomList.Entry:

Public Member Functions

Object getObject ()
 Object. More...
 
float getThreshold ()
 Threshold value. More...
 
float getWeight ()
 Weight. More...
 
Entry new (Entry entry)
 Create copy of entry. More...
 
Entry new (Object object, float weight)
 Create entry. More...
 
void setObject (Object object)
 Set object. More...
 
void setThreshold (float threshold)
 Threshold value. More...
 
void setWeight (float weight)
 Set weight. More...
 

Detailed Description

Member Function Documentation

◆ getObject()

Object Dragengine.Utils.WeightedRandomList.Entry.getObject ( )

Object.

◆ getThreshold()

float Dragengine.Utils.WeightedRandomList.Entry.getThreshold ( )

Threshold value.

◆ getWeight()

float Dragengine.Utils.WeightedRandomList.Entry.getWeight ( )

Weight.

◆ new() [1/2]

Entry Dragengine.Utils.WeightedRandomList.Entry.new ( Entry  entry)

Create copy of entry.

◆ new() [2/2]

Entry Dragengine.Utils.WeightedRandomList.Entry.new ( Object  object,
float  weight 
)

Create entry.

◆ setObject()

void Dragengine.Utils.WeightedRandomList.Entry.setObject ( Object  object)

Set object.

◆ setThreshold()

void Dragengine.Utils.WeightedRandomList.Entry.setThreshold ( float  threshold)

Threshold value.

◆ setWeight()

void Dragengine.Utils.WeightedRandomList.Entry.setWeight ( float  weight)

Set weight.


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