This is the class EnemySpawn which should call every few seconds a method in a world:
If i write
I get the "non-static method from static context" error.
Any Ideas?
public class EnemySpawn
{
public EnemySpawn(World pWorld)
{
pWorld.addEnemy2();
try {
Thread.currentThread().sleep(41);
}
catch(InterruptedException ie){
}
}
} public EnemySpawn()
{
((GameWorld1)).addEnemy2();
