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

Update PlayerObject.java

parent 7008541a
...@@ -19,6 +19,10 @@ public class PlayerObject extends AnimatedObject { ...@@ -19,6 +19,10 @@ public class PlayerObject extends AnimatedObject {
// Change positionX, positionY if the object is moving // Change positionX, positionY if the object is moving
// Change spriteState based on what the AnimatedObject is doing // Change spriteState based on what the AnimatedObject is doing
} }
public void changeSprite(String sprite) {
// Change the spriteFile string
}
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
......
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