Class ArcadeLevelItem


public final class ArcadeLevelItem extends MenuActionItem
This class realizes a MenuItem with contains an arcade level (switch to).
  • Constructor Details

    • ArcadeLevelItem

      public ArcadeLevelItem(IScene scene, Vec size, String text, List<String> arcadeGroup, String id, GameModel model)
      Create MenuActionItem.
      Parameters:
      scene - the scene
      text - the text
      size - the size
      arcadeGroup - the group of the level
      id - the id of the level
      model - the model
  • Method Details

    • renderItem

      protected void renderItem(GameGrid f)
      Description copied from class: MenuItem
      Render the Item itself.
      Overrides:
      renderItem in class MenuItem
      Parameters:
      f - the field
    • isSelectable

      public boolean isSelectable()
      Description copied from class: MenuItem
      Indicates whether the item is selectable.
      Overrides:
      isSelectable in class MenuItem
      Returns:
      true iff selectable, false otherwise