com.threerings.tudey.server.logic
Class ActionLogic.SpawnRandomTranslatedActor
java.lang.Object
com.threerings.util.ShallowObject
com.threerings.tudey.server.logic.Logic
com.threerings.tudey.server.logic.ActionLogic
com.threerings.tudey.server.logic.ActionLogic.SpawnActor
com.threerings.tudey.server.logic.ActionLogic.SpawnRandomTranslatedActor
- Enclosing class:
- ActionLogic
public static class ActionLogic.SpawnRandomTranslatedActor
- extends ActionLogic.SpawnActor
Handles a spawn random translated actor action.
| Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.ActionLogic |
ActionLogic.AbstractMove, ActionLogic.Compound, ActionLogic.Conditional, ActionLogic.Delayed, ActionLogic.DestroyActor, ActionLogic.ExpressionSwitch, ActionLogic.FireEffect, ActionLogic.ForceClientAction, ActionLogic.MoveAll, ActionLogic.MoveBody, ActionLogic.Random, ActionLogic.RotateActor, ActionLogic.SetFlag, ActionLogic.SetVariable, ActionLogic.Signal, ActionLogic.SpawnActor, ActionLogic.SpawnRandomTranslatedActor, ActionLogic.SpawnRotatedActor, ActionLogic.SpawnTransformedActor, ActionLogic.StepLimitMobile, ActionLogic.Switch, ActionLogic.Targeted, ActionLogic.TargetedAction, ActionLogic.WarpActor, ActionLogic.WarpTransformedActor |
|
Field Summary |
protected TargetLogic |
_cs
The collision source. |
protected static int |
COLLISION_ATTEMPTS
The number of failed collision attempts before continuing. |
| Methods inherited from class com.threerings.tudey.server.logic.Logic |
addShapeObserver, createAction, createCondition, createExpression, createHandler, createRegion, createTarget, getModel, getPatrolPath, getSceneManager, getShape, getTags, getTransform, getTransform, getVariable, init, isDefaultEntrance, isVisible, removeShapeObserver, request, resolveTarget, setVariable, signal |
_cs
protected TargetLogic _cs
- The collision source.
COLLISION_ATTEMPTS
protected static final int COLLISION_ATTEMPTS
- The number of failed collision attempts before continuing.
- See Also:
- Constant Field Values
ActionLogic.SpawnRandomTranslatedActor
public ActionLogic.SpawnRandomTranslatedActor()
spawnActor
protected boolean spawnActor(int timestamp,
ConfigReference<ActorConfig> actor,
Logic target,
Logic activator)
- Description copied from class:
ActionLogic.SpawnActor
- Spawns an actor at the target
- Overrides:
spawnActor in class ActionLogic.SpawnActor
didInit
protected void didInit()
- Description copied from class:
ActionLogic
- Override to perform custom initialization.
- Overrides:
didInit in class ActionLogic.SpawnActor