Commit 7f3b5c7a authored by charlie.hamer's avatar charlie.hamer 💬

Update PlayerObject.java

parent d61c50eb
...@@ -22,6 +22,9 @@ public class PlayerObject extends AnimatedObject { ...@@ -22,6 +22,9 @@ public class PlayerObject extends AnimatedObject {
public void processKeyboardInput() { public void processKeyboardInput() {
// Check for keyboard input to see if PlayerObject is being moved // Check for keyboard input to see if PlayerObject is being moved
} }
public void objectInfo() {
println("GameObject:AnimatedObject:playerObject"); //shows object heirarchy
}
private void getHealth() { private void getHealth() {
// returns the health // returns the health
} }
......
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