|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.ShallowObject
com.threerings.tudey.server.logic.Logic
com.threerings.tudey.server.logic.HandlerLogic
com.threerings.tudey.server.logic.HandlerLogic.Transition
com.threerings.tudey.server.logic.HandlerLogic.BaseIntersection
com.threerings.tudey.server.logic.HandlerLogic.BaseIntersectionCount
public abstract static class HandlerLogic.BaseIntersectionCount
Handles the intersection count event.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.Logic |
|---|
Logic.ShapeObserver |
| Constructor Summary | |
|---|---|
HandlerLogic.BaseIntersectionCount()
Creates a new base intersection count handler. |
|
| Method Summary | |
|---|---|
void |
didInit()
Override to perform custom initialization. |
int |
getMask()
Returns the sensor's bitmask. |
boolean |
tick(int timestamp)
Ticks the participant. |
void |
transfer(Logic source,
Map<Object,Object> refs)
Transfers state from the specified source logic. |
void |
trigger(int timestamp,
ActorLogic actor)
Triggers the sensor. |
| Methods inherited from class com.threerings.tudey.server.logic.HandlerLogic.BaseIntersection |
|---|
shapeDidChange, shapeWillChange, shutdown, startup |
| Methods inherited from class com.threerings.tudey.server.logic.HandlerLogic |
|---|
getEntityKey, getRotation, getTranslation, init, isActive, removed, variableChanged |
| Methods inherited from class com.threerings.tudey.server.logic.Logic |
|---|
addShapeObserver, getModel, getPatrolPath, getSceneManager, getShape, getTags, getTransform, getTransform, getVariable, init, isDefaultEntrance, isVisible, removeShapeObserver, request, resolveTarget, setVariable, signal |
| Methods inherited from class com.threerings.util.ShallowObject |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HandlerLogic.BaseIntersectionCount()
| Method Detail |
|---|
public void didInit()
HandlerLogic
public int getMask()
TudeySceneManager.Sensor
getMask in interface TudeySceneManager.Sensor
public void trigger(int timestamp,
ActorLogic actor)
TudeySceneManager.Sensor
trigger in interface TudeySceneManager.Sensortimestamp - the timestamp of the intersection.actor - the logic object of the actor that triggered the sensor.public boolean tick(int timestamp)
TudeySceneManager.TickParticipant
tick in interface TudeySceneManager.TickParticipanttick in class HandlerLogic.Transitiontimestamp - the timestamp of the current tick.
public void transfer(Logic source,
Map<Object,Object> refs)
Logic
transfer in class HandlerLogic.BaseIntersection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||