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;