com.threerings.tudey.config
Class ActorConfig.Agent
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.ActorConfig.Implementation
com.threerings.tudey.config.ActorConfig.Original
com.threerings.tudey.config.ActorConfig.Mobile
com.threerings.tudey.config.ActorConfig.Agent
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ActorConfig
public static class ActorConfig.Agent
- extends ActorConfig.Mobile
Implementation for computer-controlled actors.
turnRate
@Editable(min=0.0,
scale=0.017453292519943295)
public float turnRate
- The agent's turn rate.
behavior
@Editable(nullable=true)
@Strippable
public ConfigReference<BehaviorConfig> behavior
- The agent's behavior.
ActorConfig.Agent
public ActorConfig.Agent()
getLogicClassName
public String getLogicClassName()
- Description copied from class:
ActorConfig.Original
- Returns the name of the server-side logic class to use for the actor.
- Overrides:
getLogicClassName in class ActorConfig.Mobile
createActor
public Actor createActor(ConfigReference<ActorConfig> config,
int id,
int created,
Vector2f translation,
float rotation)
- Description copied from class:
ActorConfig.Original
- Creates a new actor of the type associated with this config.
- Overrides:
createActor in class ActorConfig.Mobile
getUpdateReferences
public void getUpdateReferences(ConfigReferenceSet refs)
- Description copied from class:
ActorConfig.Implementation
- Adds the implementation's update references to the provided set.
- Overrides:
getUpdateReferences in class ActorConfig.Implementation
Copyright © 2011. All Rights Reserved.