public <E extends DimentionObject> void addSceneItem(E child){
		if (child.getClass() == Light.class){
			Light light = (Light)child;
			if (this.lights.indexOf(light) == -1) {
				this.lights.add(light);
			}
		}
		else if (child.getClass() == Sound.class){
			Sound sound = (Sound)child;
			if (this.sounds.indexOf(sound) == -1) {
				this.sounds.add(sound);
			}
		}
		else if (!(child.getClass() == Camera.class || child.getClass() == Bone.class)) {
			if (this.objects.indexOf(child) == -1) {
				this.objects.add(child);
				this.objectsAdded.add(child);
			}
		}

		for (DimentionObject item : child.getChildren()) {
			this.addSceneItem(item);
		}
	}