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.
28 lines
557 B
28 lines
557 B
package mightypork.rogue.world.entity.models;
|
|
|
|
|
|
import mightypork.rogue.world.World;
|
|
import mightypork.rogue.world.entity.Entity;
|
|
import mightypork.rogue.world.level.Level;
|
|
|
|
|
|
public interface EntityMoveListener {
|
|
|
|
/**
|
|
* One step of a path finished
|
|
*/
|
|
void onStepFinished(Entity entity, World world, Level level);
|
|
|
|
|
|
/**
|
|
* Scheduled path finished
|
|
*/
|
|
void onPathFinished(Entity entity, World world, Level level);
|
|
|
|
|
|
/**
|
|
* Path was aborted (bumped into a wall or entity)
|
|
*/
|
|
void onPathAborted(Entity entity, World world, Level level);
|
|
|
|
}
|
|
|