com.threerings.tudey.config
Class ActionConfig.SpawnRotatedActor
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.ActionConfig
com.threerings.tudey.config.ActionConfig.SpawnActor
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 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. |
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.
ActionConfig.SpawnRotatedActor
public ActionConfig.SpawnRotatedActor()
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.