com.threerings.tudey.util
Class ActiveAdvancer
java.lang.Object
com.threerings.tudey.util.ActorAdvancer
com.threerings.tudey.util.MobileAdvancer
com.threerings.tudey.util.ActiveAdvancer
- Direct Known Subclasses:
- PawnAdvancer
public class ActiveAdvancer
- extends MobileAdvancer
Advancer for active actors.
|
Method Summary |
boolean |
canMove()
Determines whether the actor can move. |
boolean |
canRotate()
Determines whether the actor can rotate. |
void |
init(Actor actor,
int timestamp)
(Re)initializes the advancer. |
ActiveAdvancer
public ActiveAdvancer(ActorAdvancer.Environment environment,
Active active,
int timestamp)
- Creates a new advancer for the supplied active.
canMove
public boolean canMove()
- Determines whether the actor can move.
canRotate
public boolean canRotate()
- Determines whether the actor can rotate.
init
public void init(Actor actor,
int timestamp)
- Description copied from class:
ActorAdvancer
- (Re)initializes the advancer.
- Overrides:
init in class MobileAdvancer
Copyright © 2011. All Rights Reserved.