
            /**
            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. You hear someone pick up an object from
		the ground.
	
                          Corresponding GameBots message is 
                          HRP.
                      
             */
            
            public class
            HearPickup
                    extends GBEvent
                
	            	implements IWorldEvent
                        
            {
            
            
            
    	/** Example how the message looks like - used during parser tests. */
    	public static final String PROTOTYPE = 
    		"HRP {Source unreal_id} {Type text} {Rotation 0,0,0}";
    
            
            /////// Properties BEGIN
            
        /**
        Unique Id of an object picked up. */
        protected
         UnrealId Source = 
        	null;
        
        
        /**
        Unique Id of an object picked up. */
        public
        UnrealId getSource() {
            return
         Source;
        }
        

        
        /**
        Class of the picked up actor. */
        protected
         String Type = 
        	null;
        
        
        /**
        Class of the picked up actor. */
        public
        String getType() {
            return
         Type;
        }
        

        
        /**
        
			How should bot rotate if it would like to be in the
			direction of the pickuped actor
		 */
        protected
         Rotation Rotation = 
        	null;
        
        
        /**
        
			How should bot rotate if it would like to be in the
			direction of the pickuped actor
		 */
        public
        Rotation getRotation() {
            return
         Rotation;
        }
        

        
            /////// 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 HearPickup(HearPickup original) {
                
                     this.Source=original.Source;
                
                     this.Type=original.Type;
                
                     this.Rotation=original.Rotation;
                
             }   
             
             
                 /**
                  * Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
                  */
	             public HearPickup() {
	             }
             
                
                 
            public String toString() {
                return
                
                		super.toString() + " | " +
                		
				               "Source = " + 
				               String.valueOf(Source) + " | " +
				            
				               "Type = " + 
				               String.valueOf(Type) + " | " +
				            
				               "Rotation = " + 
				               String.valueOf(Rotation) + " | " +
				             "";
                	 
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>Source</b> : " + 
            String.valueOf(Source) + 
            " <br/> " +
             
            "<b>Type</b> : " + 
            String.valueOf(Type) + 
            " <br/> " +
             
            "<b>Rotation</b> : " + 
            String.valueOf(Rotation) + 
            " <br/> " +
             "";
             }            
             
             
             
             }
                         
        