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.
22 lines
552 B
22 lines
552 B
package mightypork.rogue.world.gui.interaction;
|
|
|
|
|
|
import mightypork.gamecore.util.math.constraints.vect.Vect;
|
|
import mightypork.rogue.world.PlayerControl;
|
|
import mightypork.rogue.world.gui.MapView;
|
|
|
|
|
|
public interface MapInteractionPlugin {
|
|
|
|
boolean onStepEnd(MapView mapView, PlayerControl player);
|
|
|
|
|
|
boolean onClick(MapView mapView, PlayerControl player, Vect mouse, int button, boolean down);
|
|
|
|
|
|
boolean onKey(MapView mapView, PlayerControl player, int key, boolean down);
|
|
|
|
|
|
void update(MapView mapView, PlayerControl pc, double delta);
|
|
|
|
}
|
|
|