var zlWorld = new Class({
	 objects: []
	,actors: []
	,actions: {}

	,initialize: function(){
	}
	
	,createObject: function(objectType){
		var newItem = new zlObject(this, objectType);
		this.objects.push(newItem);
		return newItem;
	}
	,createActor: function(name){
		var newItem = new zlActor(this, name);
		this.actors.push(newItem);
		return newItem;
	}
	,addAction: function(action){
		if(action.isClass('zlAction'))	this.actions[action.name] = action;
		return this;
	}

	,reportObjects: function(){
		var report = '';
		if(this.objects.length){
			report += "zlObject count: " + this.objects.length + "\n";
			this.objects.each(function(object){report += object + "\n"});
		}else{
			report += "There are currently no zlObjects in this world.\n";
		}
		return report;
	}

	,reportActors: function(){
		var report = '';
		if(this.actors.length){
			report += "zlActor count: " + this.actors.length + "\n";
			this.actors.each(function(actor){report += actor + "\n"});
		}else{
			report += "There are currently no zlActors in this world.\n";
		}
		return report;
	}

});