Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package feAttempt;
- public class UnitClass extends Sprite{
- private Weapon heldWeapon;
- private String unitClass;
- private String name;
- private int[] stats;
- public UnitClass(int[] stats, String unitClass, String name, String spriteName, Weapon heldWeapon){
- super.setImageFileName(spriteName);
- this.heldWeapon = heldWeapon;
- this.unitClass = unitClass;
- this.name = name;
- this.stats = stats;
- }
- public Weapon getWeapon(){
- return heldWeapon;
- }
- public String getName(){
- return name;
- }
- public String getUnitClass(){
- return unitClass;
- }
- public int[] getStats(){
- return stats;
- }
- }
Add Comment
Please, Sign In to add comment