public interface Behavior
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.
|