this.world = world;
}
public void worldClick(Point location, boolean button1)
{
HumanController controller = ((HumanController)world.getHumanController());
if(BuildingSelected.Wall == buildingSelected)
{
if(button1) controller.createWallAtPoint(location);
else controller.deleteWallAtPoint(location);
}
else if(BuildingSelected.Turret == buildingSelected)
{
if(button1) controller.createTurretAtPoint(location);
else controller.deleteTurretAtPoint(location);
}
}