private void paintPlayers(Graphics g)
    {//---------------------PAINTS ALL UNITS------------------

	for (Unit u : Model.getInstance().getAllUnits())
	{
	    //System.out.println(UnitPainter.getInstance().paintUnit(u));
	    g.drawImage(UnitPainter.getInstance().paintUnit(u), u.getX(), u.getY(), this);
	}
    }//---------------------END UNIT PAINTING------------------