public String getGeneratorString() {
		String type = getTypeStr();
		if(type.equals("object") || type.equals("reset"))
			return type+"("+model.getMass()+","+(int)model.getX()+","+(int)model.getY()+","+Boolean.toString(model.canMove())+","+getColorStr(model.getColor())+","+getVelocityStr(model.getVelocity())+")";
		if(type.equals("item"))
			return "item("+(int)model.getX()+","+(int)model.getY()+")";
		if(type.equals("start") || type.equals("end"))
			return type+"=["+(int)model.getX()+","+(int)model.getY()+"]";
		if(type.equals("path"))
			return type+"("+model.getMass()+","+((PathGravitable)model).vel+","+((PathGravitable)model).start.x+","+((PathGravitable)model).start.y+","+((PathGravitable)model).end.x+","+((PathGravitable)model).end.y+","+getColorStr(model.getColor())+")";
		if(type.equals("proximity"))
			return "bomb(proximity,"+model.getX()+","+model.getY()+","+((ProximityBomb)model).triggerDist+","+((ProximityBomb)model).bf.length+")";
		if(type.contains("turret"))
			return type+"("+model.getX()+","+model.getY()+")";
			return "";
	}