public void init(){
		topLeftWaypoint = new Point();
		topLeftWaypoint.x = 200;
		topLeftWaypoint.y = mapheight - 200;
		bottomRightWaypoint = new Point();
		bottomRightWaypoint.x = mapwidth - 200;
		bottomRightWaypoint.y = 200;
		base1Waypoint = new Point();
		base1Waypoint.x = 200;
		base1Waypoint.y = 200;
		base2Waypoint = new Point();
		base2Waypoint.x = mapwidth - 200;
		base2Waypoint.y = mapheight - 200;
		
		generator = new Random();
		
		playerList = new ArrayList<Entity>();
		
		/*build trigonometry tables*/
		double toRadian = Math.PI/(180*trigScale);
		//sine
		sin = new float[(90*trigScale) + 1];
		for(int i=0;i<sin.length;i++){
			sin[i] = ((float)Math.sin(((double)i) * toRadian));
		}
		
		//cosine
		cos = new float[(90*trigScale) + 1];
		for(int i=0;i<cos.length;i++){
			cos[i] = ((float)Math.cos(((double)i) * toRadian));
		}
		
		//tangent
		tan = new float[(90*trigScale) + 1];
		for(int i=0;i<tan.length;i++){
			tan[i] = sin[i]/cos[i];
		}
		
		//player init
		for(int i=0; i<10; i++){
			Entity player = new Entity();
			player.x = 3000;
			player.y = 1000 + i*500;
			playerList.add(player);
			player.playerInit();
		}
		
		ball = new Entity();
		ball.ballInit();
	}//end initialization