Package com.pointcliki.dizgruntled.editor

Source Code of com.pointcliki.dizgruntled.editor.SaveButton

package com.pointcliki.dizgruntled.editor;

import com.pointcliki.core.Sprite;
import com.pointcliki.ui.UIEntity;

public class SaveButton extends UIEntity {
 
  /**
   * Serial key
   */
  private static final long serialVersionUID = 6184459282941811191L;
 
  public SaveButton() {
    super();
   
    Sprite s = new Sprite("editor/save");
    addChild(s);
    fSpan = s.span();
  }
 
  @Override
  public void focus() {
    super.focus();
    scene(EditorScene.class).mapManager().save();
  }
}
TOP

Related Classes of com.pointcliki.dizgruntled.editor.SaveButton

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.