private void text()
{
if(getOneIntersectingObject(button1.class) != null)
{
getWorld().addObject(new test(), 200 , 200);
}
else if(getOneIntersectingObject(button1.class) == null)
{
getWorld().removeObjects(getWorld().getObjects(test.class));
}
else if(getOneIntersectingObject(button2.class) != null)
{
getWorld().addObject(new test(), 200 , 200);
}
else if(getOneIntersectingObject(button2.class) == null)
{
getWorld().removeObjects(getWorld().getObjects(test.class));
}
}else if(getOneIntersectingObject(button2.class) != null)
{
getWorld().addObject(new test(), 200 , 200);
}
else if(getOneIntersectingObject(button2.class) == null)
{
getWorld().removeObjects(getWorld().getObjects(test.class));
}

