Commit 10d2b4da authored by charlie.hamer's avatar charlie.hamer 💬

Update BossMonsterObject.java

parent 0b2eeb5d
...@@ -14,6 +14,8 @@ public class BossMonsterObject extends EnemyObject { ...@@ -14,6 +14,8 @@ public class BossMonsterObject extends EnemyObject {
spriteFile = sprite; spriteFile = sprite;
spriteState = state; spriteState = state;
} }
public static void main(String[] args) {
EnemyObject minion = new EnemyObject();
public void specialAttack() { public void specialAttack() {
// this is the code for his special attack // this is the code for his special attack
...@@ -22,8 +24,8 @@ public class BossMonsterObject extends EnemyObject { ...@@ -22,8 +24,8 @@ public class BossMonsterObject extends EnemyObject {
// Change the spriteFile string // Change the spriteFile string
} }
public void update() { public void update() {
// Change positionX, positionY if the object is moving // Change positionX, positionY if the object is moving, also update the minion
// Change spriteState based on what the AnimatedObject is doing // Change spriteState based on what the AnimatedObject is doing, also change the minions spriteState
} }
public void processAI() { public void processAI() {
...@@ -38,6 +40,4 @@ public class BossMonsterObject extends EnemyObject { ...@@ -38,6 +40,4 @@ public class BossMonsterObject extends EnemyObject {
public void objectInfo() { public void objectInfo() {
println("GameObject:AnimatedObject:EnemyObject:BossMonsterObject"); //shows object heirarchy println("GameObject:AnimatedObject:EnemyObject:BossMonsterObject"); //shows object heirarchy
} }
} }
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