com.threerings.tudey.data.actor
Class StepLimiter
java.lang.Object
com.threerings.tudey.data.actor.StepLimiter
- All Implemented Interfaces:
- com.threerings.io.Streamable
public class StepLimiter
- extends Object
- implements com.threerings.io.Streamable
Limits the directions a mobile can step in.
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
com.threerings.io.Streamable.Closure |
|
Constructor Summary |
StepLimiter()
No-arg constructor for deserialization. |
StepLimiter(float minDirection,
float maxDirection)
Creates a new StepLimiter. |
|
Method Summary |
boolean |
canStep(float direction)
Returns true if the direction is valid for stepping. |
boolean |
equals(Object other)
|
StepLimiter
public StepLimiter(float minDirection,
float maxDirection)
- Creates a new StepLimiter.
StepLimiter
public StepLimiter()
- No-arg constructor for deserialization.
canStep
public boolean canStep(float direction)
- Returns true if the direction is valid for stepping.
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
Copyright © 2011. All Rights Reserved.