public void MoveModel() 
	{
		if(win == GameStatus.VICTORY || lose == GameStatus.DEFEAT)
			pause = true;
		if(!pause)
		{
			CollideableObject q;
			int i = 0;
			win = GameStatus.VICTORY;
			lose = GameStatus.DEFEAT;
			while (i < data.size()) 
			{
				q = data.get(i);
				if (q.color != Color.BLUE && q.color != Color.GRAY) //if q is a brick
				{
					if (q.Y < Brick.BRICK_OFFSET + 400) //q is an enemy brick
						 win = GameStatus.ACTIVE;
					else 								//q is a friendly brick
						lose = GameStatus.ACTIVE;
					if (((Brick) q).hits == 0) //removes bricks without throwing NullPointerException
					{
						data.remove(q);
						i++;
						continue;
					}
				}
				q.move(this, width, height);
				i++;
			}
		}
	}