diff --git a/src/main/java/org/bitbiome/classes/Mob.java b/src/main/java/org/bitbiome/classes/Mob.java new file mode 100644 index 0000000..f214d90 --- /dev/null +++ b/src/main/java/org/bitbiome/classes/Mob.java @@ -0,0 +1,47 @@ +package org.bitbiome.classes; + +public class Mob { + + private String name; + private boolean isFriendly; + + private float hp; + private float damage; + + public Mob(String name, boolean isFriendly, float hp, float damage) { + this.name = name; + this.isFriendly = isFriendly; + this.hp = hp; + this.damage = damage; + } + + public String getName() { + return name; + } + + public boolean isFriendly() { + return isFriendly; + } + + public float getHp() { + return hp; + } + + public float getDamage() { + return damage; + } + + public void setDamage(float damage) { + this.damage = damage; + } + + public void setHp(float hp) { + this.hp = hp; + } + + public void setFriendly(boolean isFriendly) { + this.isFriendly = isFriendly; + } + + +}