ok, i got a jar file, and i went to jcreator and went to requires libraries, clicked new, and added the jar. now when i write the code:
/**
* @(#)FirstGame.java
*
* FirstGame application
*
* @author
* @version 1.00 2007/11/24
*/
import com.golden.gamedev.Game;
import com.golden.gamedev.GameLoader;
import java.awt.Graphics2D;
import java.awt.Dimension;
public class four {
public void initResources()
{
}
public void update(long elapsedTime)
{
}
public void render(Graphics2D g)
{
}
public static void main(String[] args) {
// TODO, add your application code
System.out.println("Hello World!");
GameLoader game=new GameLoader();
game.setup(new four(), new Dimension(640,480), false);
game.start();
}
}
it cant find symbol method setup
what do i do?