com.threerings.tudey.config
Class ScriptConfig.Rotate

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.config.ScriptConfig
          extended by com.threerings.tudey.config.ScriptConfig.Rotate
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ScriptConfig

public static class ScriptConfig.Rotate
extends ScriptConfig

Rotates to a target orientation.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.config.ScriptConfig
ScriptConfig.Condition, ScriptConfig.Goto, ScriptConfig.Move, ScriptConfig.Rotate, ScriptConfig.Wait
 
Field Summary
 float direction
          The target rotation.
 boolean relative
          If the rotation is relative.
 float rotationVariance
          The rotation variance.
 
Constructor Summary
ScriptConfig.Rotate()
           
 
Method Summary
 String getLogicClassName()
          Returns the name of the server-side logic class for this behavior.
 
Methods inherited from class com.threerings.tudey.config.ScriptConfig
invalidate
 
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

direction

@Editable(min=0.0,
          max=360.0,
          scale=0.017453292519943295,
          hgroup="d")
public float direction
The target rotation.


rotationVariance

@Editable(min=0.0,
          max=360.0,
          scale=0.017453292519943295,
          hgroup="d")
public float rotationVariance
The rotation variance.


relative

@Editable
public boolean relative
If the rotation is relative.

Constructor Detail

ScriptConfig.Rotate

public ScriptConfig.Rotate()
Method Detail

getLogicClassName

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

Specified by:
getLogicClassName in class ScriptConfig


Copyright © 2011. All Rights Reserved.