com.threerings.tudey.config
Class ActionConfig.SpawnRandomTranslatedActor

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

public static class ActionConfig.SpawnRandomTranslatedActor
extends ActionConfig.SpawnActor

Spawns a number of actors randomly translated from the location.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.config.ActionConfig
ActionConfig.AbstractMove, ActionConfig.Case, ActionConfig.Compound, ActionConfig.Conditional, ActionConfig.Delayed, ActionConfig.DestroyActor, ActionConfig.EntryPortal, ActionConfig.ExpressionCase, ActionConfig.ExpressionSwitch, ActionConfig.FireEffect, ActionConfig.ForceClientAction, ActionConfig.MoveAll, ActionConfig.MoveBody, ActionConfig.Portal, ActionConfig.PreExecutable, ActionConfig.Random, ActionConfig.RotateActor, ActionConfig.SetFlag, ActionConfig.SetVariable, ActionConfig.Signal, ActionConfig.SpawnActor, ActionConfig.SpawnRandomTranslatedActor, ActionConfig.SpawnRotatedActor, ActionConfig.SpawnTransformedActor, ActionConfig.StepLimitMobile, ActionConfig.Switch, ActionConfig.TaggedPortal, ActionConfig.TargetedAction, ActionConfig.TilePortal, ActionConfig.WarpActor, ActionConfig.WarpTransformedActor, ActionConfig.WeightedAction
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
 int collisionMask
          The collision mask to use.
 TargetConfig collisionSource
          The source collision location.
 int count
          The number of actors to spawn.
 int steps
          The number of steps to take.
 float stepSize
          The translation step.
 
Fields inherited from class com.threerings.tudey.config.ActionConfig.SpawnActor
actor, location
 
Constructor Summary
ActionConfig.SpawnRandomTranslatedActor()
           
 
Method Summary
 String getLogicClassName()
          Returns the name of the server-side logic class for this action.
 void invalidate()
          Invalidates any cached data.
 
Methods inherited from class com.threerings.tudey.config.ActionConfig.SpawnActor
getOriginal, getPreloads
 
Methods inherited from class com.threerings.tudey.config.ActionConfig
getSubActions
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

count

@Editable
@Strippable
public int count
The number of actors to spawn.


stepSize

@Editable(min=0.01,
          step=0.01,
          hgroup="s")
@Strippable
public float stepSize
The translation step.


steps

@Editable(hgroup="s")
@Strippable
public int steps
The number of steps to take.


collisionMask

@Editable(editor="mask",
          mode="collision",
          hgroup="c")
@Strippable
public int collisionMask
The collision mask to use.


collisionSource

@Editable(hgroup="c")
@Strippable
public TargetConfig collisionSource
The source collision location.

Constructor Detail

ActionConfig.SpawnRandomTranslatedActor

public ActionConfig.SpawnRandomTranslatedActor()
Method Detail

getLogicClassName

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

Overrides:
getLogicClassName in class ActionConfig.SpawnActor

invalidate

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

Overrides:
invalidate in class ActionConfig.SpawnActor