var AsyncCommand = function(){
    this.Extends = SimpleCommand;
    
    this.setOnComplete = function(onCompleteHandler/*Function*/)/*void*/{
    	this.onComplete = onCompleteHandler;
    }
    
    this.commandComplete = function()/*void*/{
    	if(this.onComplete != null) this.onComplete();
    }
    
    //private
    
    this.onComplete/*Function*/ = null;
}
AsyncCommand = new Class(new AsyncCommand());
