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/graphics/FullscreenToggleRequest.java

23 lines
520 B

10 years ago
package mightypork.gamecore.graphics;
import mightypork.utils.eventbus.BusEvent;
import mightypork.utils.eventbus.events.flags.SingleReceiverEvent;
/**
* Event that will request fullscreen toggle in the graphics module.<br>
* FIXME the usefullness of this event is dubious.
*
* @author Ondřej Hruška (MightyPork)
*/
10 years ago
@SingleReceiverEvent
public class FullscreenToggleRequest extends BusEvent<GraphicsModule> {
10 years ago
@Override
protected void handleBy(GraphicsModule handler)
{
handler.switchFullscreen();
}
}