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

26 lines
625 B

10 years ago
package mightypork.rogue.world.gui.interaction;
import mightypork.gamecore.eventbus.events.Updateable;
import mightypork.gamecore.input.events.KeyEvent;
import mightypork.gamecore.input.events.KeyListener;
import mightypork.gamecore.util.math.constraints.vect.Vect;
import mightypork.rogue.world.events.PlayerStepEndListener;
10 years ago
import mightypork.rogue.world.gui.MapView;
public abstract class MapInteractionPlugin {
protected final MapView mapView;
public MapInteractionPlugin(MapView mapView)
{
super();
this.mapView = mapView;
}
public abstract boolean onClick(Vect mouse, int button, boolean down);
}