Versatile Java game engine with pluggable backends (this was used in Rogue, I think)
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.
gamecore/src/mightypork/gamecore/core/plugins/screenshot/ScreenshotRequest.java

23 lines
459 B

10 years ago
package mightypork.gamecore.core.plugins.screenshot;
import mightypork.utils.eventbus.BusEvent;
import mightypork.utils.eventbus.events.flags.SingleReceiverEvent;
/**
* Event used to request screenshot capture.
*
10 years ago
* @author MightyPork
*/
@SingleReceiverEvent
10 years ago
public class ScreenshotRequest extends BusEvent<ScreenshotRequestListener> {
10 years ago
@Override
10 years ago
protected void handleBy(ScreenshotRequestListener handler)
10 years ago
{
10 years ago
handler.onScreenshotRequest();
10 years ago
}
10 years ago
}