anchor.diff:  	return ball;
   }
   
  +Sprite getDraggableSquare()
  +{
  +	DraggableBall ball = new DraggableBall();
  +    ball.graphics.rect(0, 0, 40, 40);
  +	ball.graphics.fillColor(Color.Blue);
  +	ball.graphics.strokeColor(Color.Black, 2);
  +	ball.alpha = 0.9;
  +	return ball;
  +}
  +
  +int orderByDepth(Sprite a, Sprite b)
  +{
  +	int aIndex = a.parent.getChildIndex(a);
  +	int bIndex = b.parent.getChildIndex(b);
  +	if(aIndex > bIndex)
  +	{
  +		return 1;
  +	}
  +	else if(aIndex < bIndex)
  +	{
  +		return -1;
  +	}
  +	else
  +	{
  +		return 0;
  +	}
  +}
  +
   void saveGame()
   {
   	var memento = {};
   	var ballObjects = [];
  +	var squareObjects = [];
   	int index = 0;
  -	balls.forEach((Sprite ball)
  -	{
  -		ballObjects.add({"x": ball.x, "y": ball.y});
  -	});
  +	int len = balls.length;
  +	
  +	for(index = 0; index < len; index++)
  +	{
  +		Sprite ball = balls[index];
  +		ballObjects.add({"x": ball.x, "y": ball.y, "z": ball.parent.getChildIndex(ball)});
  +	};
  +	len = squares.length;
  +	for(index = 0; index < len; index++)
  +	{
  +		Sprite square = squares[index];
  +		squareObjects.add({"x": square.x, "y": square.y, "z": square.parent.getChildIndex(square)});
  +	}
   	memento["balls"] = ballObjects;
  +	memento["squares"] = squareObjects;
   	window.localStorage["saveGame"] = JSON.encode(memento);
   }
   
  
positive.code: 	resourceManager.addBitmapData('newButton', 'assets/images/new-button.png');
  	resourceManager.load().then((_)
  	{
  		BitmapData tankData = resourceManager.getBitmapData('tank');
  		Bitmap tank = new Bitmap(tankData);
  		stage.addChild(tank);
  
negative.code: int mouseX = 0;
  int mouseY = 0;
  int MAX_BALLS = 5;
  int MAX_SQUARES = 5;
  Sprite makerBall;
  Sprite makerSquare;
  Sprite saveButton;
  Sprite loadButton;
  Sprite newButton;
  Sprite holder;
  List<Sprite> balls = new List<Sprite>();
  List<Sprite> squares = new List<Sprite>();
  
  void main()
  {
  