com.threerings.tudey.config
Class ActorConfig.Pawn

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.config.ActorConfig.Implementation
          extended by com.threerings.tudey.config.ActorConfig.Original
              extended by com.threerings.tudey.config.ActorConfig.Mobile
                  extended by com.threerings.tudey.config.ActorConfig.Pawn
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ActorConfig

public static class ActorConfig.Pawn
extends ActorConfig.Mobile

Implementation for user-controlled actors.


Field Summary
 
Fields inherited from class com.threerings.tudey.config.ActorConfig.Mobile
speed, startInStasis, startMoving, stasisInterval
 
Fields inherited from class com.threerings.tudey.config.ActorConfig.Original
collisionFlags, collisionMask, defaultEntrance, handlers, isStatic, shape, spawnAdjustMask, spawnMask, sprite, tags
 
Constructor Summary
ActorConfig.Pawn()
          Customizes some of the defaults.
 
Method Summary
 Actor createActor(ConfigReference<ActorConfig> config, int id, int created, Vector2f translation, float rotation)
          Creates a new actor of the type associated with this config.
 String getLogicClassName()
          Returns the name of the server-side logic class to use for the actor.
 
Methods inherited from class com.threerings.tudey.config.ActorConfig.Original
getOriginal, getPreloads, getSpriteImplementation, invalidate
 
Methods inherited from class com.threerings.tudey.config.ActorConfig.Implementation
getUpdateReferences
 
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
 

Constructor Detail

ActorConfig.Pawn

public ActorConfig.Pawn()
Customizes some of the defaults.

Method Detail

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


Copyright © 2011. All Rights Reserved.