Constructor and Description |
---|
StationaryBehavior() |
Modifier and Type | Method and Description |
---|---|
void |
apply(int time)
Apply the rule associated with the behavior.
|
void |
collisionX()
Register a collision in the x direction.
|
void |
collissionY()
Register a collision in the y direction.
|
public void apply(int time)
Behavior
public void collisionX()
Behavior
collisionX
in interface Behavior
public void collissionY()
Behavior
collissionY
in interface Behavior