com.threerings.tudey.config
Class ConditionConfig.InstanceOf

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

public static class ConditionConfig.InstanceOf
extends ConditionConfig

Determines whether an entity('s logic) is an instance of some class.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.config.ConditionConfig
ConditionConfig.Action, ConditionConfig.All, ConditionConfig.Always, ConditionConfig.Any, ConditionConfig.Cooldown, ConditionConfig.DistanceWithin, ConditionConfig.Evaluate, ConditionConfig.FlagSet, ConditionConfig.InstanceOf, ConditionConfig.Intersecting, ConditionConfig.Limit, ConditionConfig.Not, ConditionConfig.Random, ConditionConfig.Tagged
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
 boolean all
          Whether or not all targets must match the condition (as opposed to any).
 String logicClass
          The name of the class to check.
 TargetConfig target
          The target to check.
 
Constructor Summary
ConditionConfig.InstanceOf()
           
 
Method Summary
 String getLogicClassName()
          Returns the name of the server-side logic class for this condition.
 void invalidate()
          Invalidates any cached data.
 
Methods inherited from class com.threerings.tudey.config.ConditionConfig
getPreloads
 
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

logicClass

@Editable(hgroup="c")
public String logicClass
The name of the class to check.


all

@Editable(hgroup="c")
public boolean all
Whether or not all targets must match the condition (as opposed to any).


target

@Editable
public TargetConfig target
The target to check.

Constructor Detail

ConditionConfig.InstanceOf

public ConditionConfig.InstanceOf()
Method Detail

getLogicClassName

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

Specified by:
getLogicClassName in class ConditionConfig

invalidate

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

Overrides:
invalidate in class ConditionConfig


Copyright © 2011. All Rights Reserved.