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.
18 lines
273 B
18 lines
273 B
10 years ago
|
package mightypork.gamecore.gui;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Element that can be assigned an action (ie. button);
|
||
|
*
|
||
|
* @author Ondřej Hruška (MightyPork)
|
||
|
*/
|
||
|
public interface ActionTrigger {
|
||
|
|
||
|
/**
|
||
|
* Assign an action
|
||
|
*
|
||
|
* @param action action
|
||
|
*/
|
||
|
void setAction(Action action);
|
||
|
}
|