 
 ;; Load Tools for Items
 (defn loadMesh [mesh]
-	"Loads a Mesh. Does not support subclasses of Mesh yet."
+	"Loads a Mesh. Does not support all subclasses of Mesh yet."
 	(if (= (get mesh 0) gameEngine.meshs.Mesh)
 		(gameEngine.meshs.Mesh. (float-array (get mesh 1)) (get mesh 2) (get mesh 3) (get mesh 4) (get mesh 5) (float-array (get mesh 6)) (int-array (get mesh 7)) (get mesh 8))
 		(gameEngine.meshGenerator.BlockGenerator/generate (get mesh 1) (get mesh 2) (get mesh 3) (get mesh 4) (get mesh 5) (get mesh 6) (get mesh 7)))

;; Save Functions
(defn saveItems [world]
	"Returns a vector containing all items of the given world in EDN format."
	(let [sceneVertex (.getSceneVertex world)
				meshMapVec (vec (.getMapMesh sceneVertex))]
				(saveMeshMap meshMapVec)
		))

(defn saveCameras [world]
	"Returns a vector containing all cameras of the given world in EDN format."

	"Loads all MyItem objects from an EDN vector created with saveItems."
	(loadMeshMap loadedItems world)
	)
	
(defn loadGroups [loadedGroups world]
	"Loads all groups from an EDN vector created with saveGroups."
	(println "loadGroups called with " loadedGroups world)
	(cond (> (.size loadedGroups) 0)
		(do
			(createNGroups (.size loadedGroups) world)
			(addItemsToGroups loadedGroups (- (.size loadedGroups) 1) world))
	))

(defn loadCameras [loadedCameras world]
	"Loads all Camera objects from an EDN vector created with saveCameras."
