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.
23 lines
437 B
23 lines
437 B
10 years ago
|
package mightypork.gamecore.core.plugins.screenshot;
|
||
10 years ago
|
|
||
|
|
||
|
import mightypork.utils.eventbus.BusEvent;
|
||
|
import mightypork.utils.eventbus.events.flags.SingleReceiverEvent;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Event used to request screenshot capture.
|
||
|
*
|
||
|
* @author MightyPork
|
||
|
*/
|
||
|
@SingleReceiverEvent
|
||
|
public class ScreenshotRequest extends BusEvent<ScreenshotPlugin> {
|
||
|
|
||
|
@Override
|
||
|
protected void handleBy(ScreenshotPlugin handler)
|
||
|
{
|
||
|
handler.takeScreenshot();
|
||
|
}
|
||
|
|
||
|
}
|