if(getOnIntersectingObject(Plasma.class)){
setLocation(Greenfoot.getRandomNumber(600), 1);
}
if(getOnIntersectingObject(Plasma.class)){
setLocation(Greenfoot.getRandomNumber(600), 1);
} if(getOnIntersectingObject(Plasma.class) != null){
setLocation(Greenfoot.getRandomNumber(600), 1);
} if(getOnIntersectingObject(Plasma.class) != null) setLocation(Greenfoot.getRandomNumber(600), 1);