com.threerings.tudey.config
Class HandlerConfig.ThresholdIntersectionCount

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.config.HandlerConfig
          extended by com.threerings.tudey.config.HandlerConfig.BaseIntersection
              extended by com.threerings.tudey.config.HandlerConfig.BaseIntersectionCount
                  extended by com.threerings.tudey.config.HandlerConfig.ThresholdIntersectionCount
All Implemented Interfaces:
Exportable, com.threerings.io.Streamable, Copyable, Cloneable
Enclosing class:
HandlerConfig

public static class HandlerConfig.ThresholdIntersectionCount
extends HandlerConfig.BaseIntersectionCount

An threshold instsection count event handler.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.config.HandlerConfig
HandlerConfig.ActorAdded, HandlerConfig.ActorRemoved, HandlerConfig.BaseActorObserver, HandlerConfig.BaseIntersection, HandlerConfig.BaseIntersectionCount, HandlerConfig.DefaultShape, HandlerConfig.Intersection, HandlerConfig.IntersectionShape, HandlerConfig.IntersectionStart, HandlerConfig.IntersectionStop, HandlerConfig.Request, HandlerConfig.Shutdown, HandlerConfig.Signal, HandlerConfig.SignalStart, HandlerConfig.SignalStop, HandlerConfig.Startup, HandlerConfig.ThresholdIntersectionCount, HandlerConfig.Tick, HandlerConfig.Timer, HandlerConfig.TransformedShape, HandlerConfig.VariableChanged, HandlerConfig.WarnTimer
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
 int threshold
          The threshold value.
 ActionConfig underAction
          The action to perform when we go under the threshold.
 
Fields inherited from class com.threerings.tudey.config.HandlerConfig.BaseIntersectionCount
condition, mask
 
Fields inherited from class com.threerings.tudey.config.HandlerConfig.BaseIntersection
shape
 
Fields inherited from class com.threerings.tudey.config.HandlerConfig
action
 
Constructor Summary
HandlerConfig.ThresholdIntersectionCount()
           
 
Method Summary
 String getLogicClassName()
          Returns the name of the server-side logic class for this handler.
 void getPreloads(ConfigManager cfgmgr, PreloadableSet preloads)
          Adds the resources to preload for this handler into the provided set.
 void invalidate()
          Invalidates any cached data.
 
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

threshold

@Editable(min=0.0)
@Strippable
public int threshold
The threshold value.


underAction

@Editable(nullable=true,
          weight=2.0)
public ActionConfig underAction
The action to perform when we go under the threshold.

Constructor Detail

HandlerConfig.ThresholdIntersectionCount

public HandlerConfig.ThresholdIntersectionCount()
Method Detail

getLogicClassName

public String getLogicClassName()
Description copied from class: HandlerConfig
Returns the name of the server-side logic class for this handler.

Specified by:
getLogicClassName in class HandlerConfig

invalidate

public void invalidate()
Description copied from class: HandlerConfig
Invalidates any cached data.

Overrides:
invalidate in class HandlerConfig.BaseIntersection

getPreloads

public void getPreloads(ConfigManager cfgmgr,
                        PreloadableSet preloads)
Description copied from class: HandlerConfig
Adds the resources to preload for this handler into the provided set.

Overrides:
getPreloads in class HandlerConfig.BaseIntersectionCount


Copyright © 2011. All Rights Reserved.