com.threerings.tudey.config
Class ActionConfig.WeightedAction

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.config.ActionConfig.WeightedAction
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ActionConfig

public static class ActionConfig.WeightedAction
extends DeepObject
implements Exportable

Combines an action with a weight.


Field Summary
 ActionConfig action
          The action itself.
 float weight
          The weight of the action.
 
Constructor Summary
ActionConfig.WeightedAction()
           
 
Method Summary
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

weight

@Editable(min=0.0,
          step=0.01)
@Strippable
public float weight
The weight of the action.


action

@Editable
public ActionConfig action
The action itself.

Constructor Detail

ActionConfig.WeightedAction

public ActionConfig.WeightedAction()


Copyright © 2011. All Rights Reserved.