All the errors are
cannot find symbol
Class : Entity/ShotEntity/AlienEntity
Location : org.newdawn.spaceinvaders.Game
Heres the exact dump from the console :
C:\JAVA\spaceinvaders>dir/b
org
sprites
C:\JAVA\spaceinvaders>javac org/newdawn/spaceinvaders/Game.java
org/newdawn/spaceinvaders/Game.java:42: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
private Entity ship;
^
org/newdawn/spaceinvaders/Game.java:170: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
public void removeEntity(Entity entity) {
^
org/newdawn/spaceinvaders/Game.java:141: cannot find symbol
symbol : class ShipEntity
location: class org.newdawn.spaceinvaders.Game
ship = new ShipEntity(this,“sprites/ship.gif”,370,550);
^
org/newdawn/spaceinvaders/Game.java:148: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity alien = new AlienEntity(this,“sprites/ali
en.gif”,100+(x50),(50)+row30);
^
org/newdawn/spaceinvaders/Game.java:148: cannot find symbol
symbol : class AlienEntity
location: class org.newdawn.spaceinvaders.Game
Entity alien = new AlienEntity(this,“sprites/ali
en.gif”,100+(x50),(50)+row30);
^
org/newdawn/spaceinvaders/Game.java:205: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity entity = (Entity) entities.get(i);
^
org/newdawn/spaceinvaders/Game.java:205: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity entity = (Entity) entities.get(i);
^
org/newdawn/spaceinvaders/Game.java:207: cannot find symbol
symbol : class AlienEntity
location: class org.newdawn.spaceinvaders.Game
if (entity instanceof AlienEntity) {
^
org/newdawn/spaceinvaders/Game.java:227: cannot find symbol
symbol : class ShotEntity
location: class org.newdawn.spaceinvaders.Game
ShotEntity shot = new ShotEntity(this,“sprites/shot.gif”,ship.ge
tX()+10,ship.getY()-30);
^
org/newdawn/spaceinvaders/Game.java:227: cannot find symbol
symbol : class ShotEntity
location: class org.newdawn.spaceinvaders.Game
ShotEntity shot = new ShotEntity(this,“sprites/shot.gif”,ship.ge
tX()+10,ship.getY()-30);
^
org/newdawn/spaceinvaders/Game.java:227: operator + cannot be applied to Entity.
getX,int
ShotEntity shot = new ShotEntity(this,“sprites/shot.gif”,ship.ge
tX()+10,ship.getY()-30);
^
org/newdawn/spaceinvaders/Game.java:262: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity entity = (Entity) entities.get(i)
;
^
org/newdawn/spaceinvaders/Game.java:262: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity entity = (Entity) entities.get(i)
;
^
org/newdawn/spaceinvaders/Game.java:270: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity entity = (Entity) entities.get(i);
^
org/newdawn/spaceinvaders/Game.java:270: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity entity = (Entity) entities.get(i);
^
org/newdawn/spaceinvaders/Game.java:280: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity me = (Entity) entities.get§;
^
org/newdawn/spaceinvaders/Game.java:280: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity me = (Entity) entities.get§;
^
org/newdawn/spaceinvaders/Game.java:281: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity him = (Entity) entities.get(s);
^
org/newdawn/spaceinvaders/Game.java:281: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity him = (Entity) entities.get(s);
^
org/newdawn/spaceinvaders/Game.java:299: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity entity = (Entity) entities.get(i)
;
^
org/newdawn/spaceinvaders/Game.java:299: cannot find symbol
symbol : class Entity
location: class org.newdawn.spaceinvaders.Game
Entity entity = (Entity) entities.get(i)
;
^
Note: org/newdawn/spaceinvaders/Game.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
21 errors