if (currentItem =='_') currentItem='*';
GhostBlock.add(new Point(xpos,ypos));
}
else if (currentItem =='+')
{ // is SuperDot
Dot sdot = new Superdot(xpos,ypos,dot_score,superdot_score,superdot_prob,this);
dots[xpos][ypos]= sdot;
world.add(sdot.getRPObject());
}
else if (currentItem =='P')
{ // is Powerpill
Dot pill = new Powerpill(xpos,ypos,dot_score,powerpill_score,powerpill_prob,this);
dots[xpos][ypos]= pill;
world.add(pill.getRPObject());
}
else if (currentItem =='F')
{ // is Fruit
Dot fruit = new Fruit(xpos,ypos,dot_score,fruit_score,fruit_prob,this);
dots[xpos][ypos]= fruit;
world.add(fruit.getRPObject());
}
//check for Dot at last because other Items can have Dot below
if (currentItem =='*')
{ // is DOT
Dot dot = new Dot(xpos,ypos,dot_score,this);
dots[xpos][ypos]= dot;
world.add(dot.getRPObject());
}
else
{ // ZoneChange Point
if (currentItem>=48 && currentItem<=57)
{