Class PainterShopEditor

    • Constructor Detail

      • PainterShopEditor

        public PainterShopEditor()
    • Method Detail

      • isActive

        public boolean isActive()
        Checks, if the painter is active.
        Specified by:
        isActive in interface Painter
        Overrides:
        isActive in class PainterBase
        Returns:
        true, if selected level is a shop.
      • keyPressed

        public boolean keyPressed​(KeyEvent e)
        Description copied from interface: InputController
        Reacts to key events.
        Specified by:
        keyPressed in interface InputController
        Parameters:
        e - The key event.
        Returns:
        true, if the event is handled by this InputController.
      • mouseClicked

        public boolean mouseClicked​(MouseEvent e)
        Description copied from interface: InputController
        Reacts to mouse events.
        Specified by:
        mouseClicked in interface InputController
        Parameters:
        e - The mouse event.
        Returns:
        true, if the event is handled by this InputController.
      • mouseMoved

        public boolean mouseMoved​(MouseEvent e)
        Description copied from interface: InputController
        Reacts to mouse move events from the gui.
        Specified by:
        mouseMoved in interface InputController
        Parameters:
        e - The mouse event.
        Returns:
        true, if the event is handled by this InputController.