GameActionInfo.java :  » Game » mobicsensormonitor » cn » edu » nju » software » configure » Android Open Source

Android Open Source » Game » mobicsensormonitor 
mobicsensormonitor » cn » edu » nju » software » configure » GameActionInfo.java
package cn.edu.nju.software.configure;

public class GameActionInfo {

  private String actionName;
  private String key;
  private String iconPath;
  private String info;
  private boolean tag;
  private int id;
  
  public GameActionInfo() {
    actionName = null;
    key = null;
    iconPath = null;
    info = null;
    tag=false;
    id=0;
  }
  public GameActionInfo(int id, String actionName) {
    this();
    setId(id);
    setActionName(actionName);
    
  }
  public GameActionInfo(String an, String key, String path) {
    this();
    this.actionName = an;
    this.key = key;
    this.iconPath = path;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public boolean isTag() {
    return tag;
  }

  public void setTag(boolean tag) {
    this.tag = tag;
  }

  public String getInfo() {
    return info;
  }

  public void setInfo(String info) {
    this.info = info;
  }

  

  public String toString(){
    return (actionName+" " + key+ " "+ iconPath);
  }
  
  

  public void setActionName(String actionName) {
    this.actionName = actionName;
  }

  public String getActionName() {
    return actionName;
  }

  public void setKey(String key) {
    this.key = key;
  }

  public String getKey() {
    return key;
  }

  public void setIconPath(String path) {
    this.iconPath = path;
  }

  public String getIconPath() {
    return iconPath;
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.