com.threerings.tudey.config
Class ActionConfig.SpawnRotatedActor

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.SpawnRotatedActor
All Implemented Interfaces:
Exportable, com.threerings.io.Streamable, Copyable, Cloneable
Direct Known Subclasses:
ActionConfig.SpawnTransformedActor
Enclosing class:
ActionConfig

public static class ActionConfig.SpawnRotatedActor
extends ActionConfig.SpawnActor

Spawns a new actor with a fixed rotation.


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.SetFlag, ActionConfig.SetVariable, ActionConfig.Signal, ActionConfig.SpawnActor, ActionConfig.SpawnRandomTranslatedActor, ActionConfig.SpawnRotatedActor, ActionConfig.SpawnTransformedActor, ActionConfig.StepLimitMobile, ActionConfig.Switch, ActionConfig.TaggedPortal, ActionConfig.TilePortal, ActionConfig.WarpActor, ActionConfig.WarpTransformedActor, ActionConfig.WeightedAction
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
 boolean relative
          If the rotation should be relative to the target.
 float rotation
          The fixed rotation for the new actor.
 float rotationVariance
          The random rotation variance.
 
Fields inherited from class com.threerings.tudey.config.ActionConfig.SpawnActor
actor, location
 
Constructor Summary
ActionConfig.SpawnRotatedActor()
           
 
Method Summary
 String getLogicClassName()
          Returns the name of the server-side logic class for this action.
 
Methods inherited from class com.threerings.tudey.config.ActionConfig.SpawnActor
getOriginal, getPreloads, invalidate
 
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
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

rotation

@Editable(min=-180.0,
          max=180.0,
          scale=0.017453292519943295,
          hgroup="r")
@Strippable
public float rotation
The fixed rotation for the new actor.


relative

@Editable(hgroup="r")
@Strippable
public boolean relative
If the rotation should be relative to the target.


rotationVariance

@Editable(min=0.0,
          max=360.0,
          scale=0.017453292519943295)
@Strippable
public float rotationVariance
The random rotation variance.

Constructor Detail

ActionConfig.SpawnRotatedActor

public ActionConfig.SpawnRotatedActor()
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


Copyright © 2011. All Rights Reserved.