com.threerings.tudey.config
Class HandlerConfig.ThresholdIntersectionCount
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.HandlerConfig
com.threerings.tudey.config.HandlerConfig.BaseIntersection
com.threerings.tudey.config.HandlerConfig.BaseIntersectionCount
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 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 |
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.
HandlerConfig.ThresholdIntersectionCount
public HandlerConfig.ThresholdIntersectionCount()
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.