HeroResource.java :  » Game » applet-game-framework » org » applet » game » app » rpg » Java Open Source

Java Open Source » Game » applet game framework 
applet game framework » org » applet » game » app » rpg » HeroResource.java
package org.applet.game.app.rpg;

public class HeroResource {
  
  static final int Stand = 0;
  static final int Walking = 1;
  static final int Sitting = 2;
  static final int Jumping = 3;
  
  String body;//
  
  String mount;
  String weapon;
  String jewel;//
  String shoe;//
  
  public HeroResource(String body, String mount, String weapon)
  {
    this.body = body;
    this.mount = mount;
    this.weapon = weapon;
  }
  
  
  public String getBody() {
    return body;
  }
  public void setBody(String body) {
    this.body = body;
  }
  public String getMount() {
    return mount;
  }
  public void setMount(String mount) {
    this.mount = mount;
  }
  public String getWeapon() {
    return weapon;
  }
  public void setWeapon(String weapon) {
    this.weapon = weapon;
  }
  public String getJewel() {
    return jewel;
  }
  public void setJewel(String jewel) {
    this.jewel = jewel;
  }
  public String getShoe() {
    return shoe;
  }
  public void setShoe(String shoe) {
    this.shoe = shoe;
  }
  
  
}
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.