It is:
not
:0
Greenfoot.isKeyDown("space")
isKeyDown("space")
public void act( ) { if(place == true){ move(1); } if(place == false){ move(-1); } if(getX()>695){ place = false; } if(getX()<455){ place = true; } }
// add the following instance variable to the class int minX, maxX; // change constructor declaration to public ObjectName(int loX, int hiX) // add to the constructor minX = loX; maxX = hiX; // change 695 and 455 in your code above // to maxX and minX
new ObjectName(455, 695)
MoveDead move = new MoveDead(455, 695); addObject(new MoveDead(455,695),456, 545);
MoveDead move = new MoveDead(455, 695); addObject(move,456, 545);
addObject(new MoveDead(455, 695), 456, 545);
MoveDead move = new MoveDead(455, 695);