Package rekit.logic.gui.menu
Class ArcadeLevelItem
java.lang.Object
rekit.logic.gui.GuiElement
rekit.logic.gui.menu.MenuItem
rekit.logic.gui.menu.MenuActionItem
rekit.logic.gui.menu.ArcadeLevelItem
This class realizes a
MenuItem
with contains an arcade level (switch to).-
Field Summary
Fields inherited from class rekit.logic.gui.GuiElement
pos, scene, size, visible
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether the item is selectable.protected void
Render the Item itself.Methods inherited from class rekit.logic.gui.menu.MenuActionItem
hasChildren, select
Methods inherited from class rekit.logic.gui.menu.MenuItem
down, focus, getText, internalRender, left, right, setHover, setParent, toString, unselect, up
Methods inherited from class rekit.logic.gui.GuiElement
getPos, getScene, getSize, isVisible, logicLoop, render, setPos, setVisible
-
Constructor Details
-
Method Details
-
renderItem
Description copied from class:MenuItem
Render the Item itself.- Overrides:
renderItem
in classMenuItem
- Parameters:
f
- the field
-
isSelectable
public boolean isSelectable()Description copied from class:MenuItem
Indicates whether the item is selectable.- Overrides:
isSelectable
in classMenuItem
- Returns:
true
iff selectable,false
otherwise
-