Rogue: Savage Rats, a retro-themed dungeon crawler
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package mightypork.rogue.world.entity.modules;
|
|
|
|
|
|
|
|
|
|
|
|
import mightypork.rogue.world.entity.Entity;
|
|
|
|
|
|
|
|
|
|
|
|
public interface EntityMoveListener {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* One step of a path finished
|
|
|
|
*/
|
|
|
|
void onStepFinished(Entity entity);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Scheduled path finished
|
|
|
|
*/
|
|
|
|
void onPathFinished(Entity entity);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Path was interrupted (bumped into a wall or entity)
|
|
|
|
*/
|
|
|
|
void onPathInterrupted(Entity entity);
|
|
|
|
|
|
|
|
}
|