GameOver gameover = new GameOver();
MyWorld.addObject(gameover, MyWorld.getWidth()/2, MyWorld.getHeight()/2);
Greenfoot.stop();
.addObject error- When i put this in, it says "non-static method addObject(greenfoot.Actor,int,int) cannot be referenced from a static context
.getWidth error - non static method getWidth() cannot be referenced from a static context
.getHeight error - non static method getHeight cannot be referenced from a static context