Browse Source

Added an abstract move method to Enemy Class

pull/1/head
17bthompson 8 years ago
parent
commit
155884b9fb
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/tanks/Enemy.java

+ 2
- 1
src/tanks/Enemy.java View File

@ -9,13 +9,14 @@ package tanks;
import javax.swing.JFrame; import javax.swing.JFrame;
public class Enemy extends Living
public abstract class Enemy extends Living
{ {
public Enemy() public Enemy()
{ {
super(); super();
} }
public abstract void move();
/* /*
enemy spawns at a random location on boarder of map. Random number 1-4 enemy spawns at a random location on boarder of map. Random number 1-4

Loading…
Cancel
Save