
            /**
            IMPORTANT !!!
       
            DO NOT EDIT THIS FILE. IT IS GENERATED FROM approriate xml file in xmlresources/gbinfomessages BY
            THE JavaClassesGenerator.xslt. MODIFY THESE FILES INSTEAD OF THIS ONE.
       
            IMPORTANT END !!!
            */
            package
            cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages;
	    		import java.util.*;    
    import javax.vecmath.*;    
    import cz.cuni.amis.pogamut.base.communication.messages.*;    
    import cz.cuni.amis.pogamut.base.agent.worldview.*;    
    import cz.cuni.amis.pogamut.base.agent.worldview.objects.*;    
    import cz.cuni.amis.pogamut.base.communication.translator.*;    
    import cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.*;    
    import cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType.Category;    
    import cz.cuni.amis.pogamut.base.exceptions.*;    
    import cz.cuni.amis.pogamut.base3d.worldview.objects.*;    
    import cz.cuni.amis.pogamut.ut2004.communication.messages.*;    
    import cz.cuni.amis.pogamut.ut2004.agent.worldview.objects.*;    
                
            
            /**
              
		Asynchronous message. Response of the FASTTRACE command. Note
		that trace commands are computationally expensive.
	
                          Corresponding GameBots message is 
                          FTR.
                      
             */
            
            public class
            FastTraceResponse
                    extends GBEvent
                
	            	implements IWorldEvent
                        
            {
            
            
            
    	/** Example how the message looks like - used during parser tests. */
    	public static final String PROTOTYPE = 
    		"FTR {Id text} {From 0,0,0} {To 0,0,0} {Result False}";
    
            
            /////// Properties BEGIN
            
        /**
        
			An Id matching the one sent by client. Allows bot to match
			answer with right query.
		 */
        protected
         String Id = 
        	null;
        
        
        /**
        
			An Id matching the one sent by client. Allows bot to match
			answer with right query.
		 */
        public
        String getId() {
            return
         Id;
        }
        

        
        /**
        
			Location from which the ray is emitted.
		 */
        protected
         Location From = 
        	null;
        
        
        /**
        
			Location from which the ray is emitted.
		 */
        public
        Location getFrom() {
            return
         From;
        }
        

        
        /**
        
			Location to which the ray is sent.
		 */
        protected
         Location To = 
        	null;
        
        
        /**
        
			Location to which the ray is sent.
		 */
        public
        Location getTo() {
            return
         To;
        }
        

        
        /**
        
			True if it hit something, false if not.
		 */
        protected
         boolean Result = 
        	false;
        
        
        /**
        
			True if it hit something, false if not.
		 */
        public
        boolean isResult() {
            return
         Result;
        }
        

        
            /////// Properties END
            
            /////// Extra Java code BEGIN
                        	
            	/////// Additional code from xslt BEGIN            	 
            			
            		
            		
            	/////// Additional code from xslt END            
				                    
	            /////// Extra Java from XML BEGIN
            		
            	/////// Extra Java from XML END
            	    
            /////// Extra Java code END
            
            
            
            /**
              * Cloning constructor.
              */
             public FastTraceResponse(FastTraceResponse original) {
                
                     this.Id=original.Id;
                
                     this.From=original.From;
                
                     this.To=original.To;
                
                     this.Result=original.Result;
                
             }   
             
             
                 /**
                  * Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
                  */
	             public FastTraceResponse() {
	             }
             
                
                 
            public String toString() {
                return
                
                		super.toString() + " | " +
                		
				               "Id = " + 
				               String.valueOf(Id) + " | " +
				            
				               "From = " + 
				               String.valueOf(From) + " | " +
				            
				               "To = " + 
				               String.valueOf(To) + " | " +
				            
				               "Result = " + 
				               String.valueOf(Result) + " | " +
				             "";
                	 
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>Id</b> : " + 
            String.valueOf(Id) + 
            " <br/> " +
             
            "<b>From</b> : " + 
            String.valueOf(From) + 
            " <br/> " +
             
            "<b>To</b> : " + 
            String.valueOf(To) + 
            " <br/> " +
             
            "<b>Result</b> : " + 
            String.valueOf(Result) + 
            " <br/> " +
             "";
             }            
             
             
             
             }
                         
        