Original Post
I have the following two classes, one of which extends the other. Entity -> Food (I realize that food does not have anything specific at this point.) I keep receiving the message: Cannot Find Symbol - Constructor Entity()...
import java.awt.*;
import java.awt.image.*;
import java.io.*;
import javax.imageio.*;
public class Entity
{
int x, y; // coordinates
int width, height;
int id;
BufferedImage image1,image2;
boolean isSelected = false;
BufferedImage currentImage;
public Entity( int setX, int setY, int setWidth, int setHeight, int entityCount ) {
x = setX;
y = setY;
width = setWidth;
height = setHeight;
id = entityCount;
}
}
import java.awt.*;
import java.awt.image.*;
import java.io.*;
import javax.imageio.*;
public class Food extends Entity
{
public Food() {
super();
}
}