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.
rogue-savage-rats/src/mightypork/rogue/world/gui/interaction/MapInteractionPlugin.java

23 lines
553 B

10 years ago
package mightypork.rogue.world.gui.interaction;
import mightypork.gamecore.util.math.constraints.vect.Vect;
import mightypork.rogue.world.PlayerControl;
10 years ago
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);
}