apes
Interface MenuAction

All Known Implementing Classes:
MenuActionActivated

public interface MenuAction

An Interface for MenuActions.


Method Summary
 void execute(org.newdawn.slick.GameContainer gc, org.newdawn.slick.state.StateBasedGame sbg, MenuItem item)
          executes.
 boolean isActivated()
          weather or not this action is currently active.
 

Method Detail

execute

void execute(org.newdawn.slick.GameContainer gc,
             org.newdawn.slick.state.StateBasedGame sbg,
             MenuItem item)
             throws org.newdawn.slick.SlickException
executes.

Parameters:
gc -
sbg -
item -
Throws:
org.newdawn.slick.SlickException

isActivated

boolean isActivated()
weather or not this action is currently active. If not, execute will not be performed on click.