Commit 0c126834 authored by charlie.hamer's avatar charlie.hamer 💬

Update PlayerObject.java

parent 14151c1f
......@@ -2,6 +2,8 @@ public class PlayerObject extends AnimatedObject {
// Used for the player avatar
int health;
public PlayerObject(int x, int y) {
super(x, y);
}
......@@ -20,4 +22,10 @@ public class PlayerObject extends AnimatedObject {
public void processKeyboardInput() {
// Check for keyboard input to see if PlayerObject is being moved
}
private void getHealth() {
// returns the health
}
private void sethealth() {
// 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