Examples of HoverSprite


Examples of com.pointcliki.utils.HoverSprite

  private void showMenuPage() {
    fPage = 2;
    fBack.setTopHeight(290);
    addChild(fBack);
   
    fHoverPlay = new HoverSprite("ui/button_play", "ui/button_play_hover") {
      /**
       * Serial key
       */
      private static final long serialVersionUID = -4972728615626326360L;
      @Override
      public void click() {
        fHoverPlay.cleanup();
        fHoverEditor.cleanup();
        fHoverLearn.cleanup();
        fHoverWww.cleanup();
        fAudio.cleanup();
        fFullscreen.cleanup();
        fScreensize.cleanup();
        removeChild(fBack);
        showLevelPage(SET_PLAY);
      }
    };
    fHoverEditor = new HoverSprite("ui/button_editor", "ui/button_editor_hover") {
      /**
       * Serial key
       */
      private static final long serialVersionUID = -4972728615626326360L;
      @Override
      public void click() {
        GruntzGame.instance().startEditor();
      }
    };
    fHoverLearn = new HoverSprite("ui/button_learn", "ui/button_learn_hover") {
      /**
       * Serial key
       */
      private static final long serialVersionUID = -4972728615626326360L;
      @Override
      public void click() {
        fHoverPlay.cleanup();
        fHoverEditor.cleanup();
        fHoverLearn.cleanup();
        fHoverWww.cleanup();
        fAudio.cleanup();
        fFullscreen.cleanup();
        fScreensize.cleanup();
        removeChild(fBack);
        showLevelPage(SET_LEARN);
      }
    };
    fHoverWww = new HoverSprite("ui/button_www", "ui/button_www_hover") {
      /**
       * Serial key
       */
      private static final long serialVersionUID = -4972728615626326360L;
      @Override
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.