Commit d61c50eb authored by charlie.hamer's avatar charlie.hamer 💬

Update EnemyObject.java

parent b788c37b
...@@ -22,10 +22,15 @@ public class EnemyObject extends AnimatedObject { ...@@ -22,10 +22,15 @@ public class EnemyObject extends AnimatedObject {
public void processAI() { public void processAI() {
// uses the AI to determine the enemy's actions // uses the AI to determine the enemy's actions
} }
public void objectInfo() {
println("GameObject:AnimatedObject:EnemyObject"); //shows object heirarchy
}
private void getHealth() { private void getHealth() {
// returns the health // returns the health
} }
private void sethealth() { private void sethealth() {
// sets the health variable // sets the health variable
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment