
            /**
            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. We have collided with a wall. Note it is
		common to get a bunch of these when you try to run through a
		wall or are pushed into one by gunfire or something.
	
                          Corresponding GameBots message is 
                          WAL.
                      
             */
            
            public class
            WallCollision
                    extends GBEvent
                
	            	implements IWorldEvent
                        
            {
            
            
            
    	/** Example how the message looks like - used during parser tests. */
    	public static final String PROTOTYPE = 
    		"WAL {Id text} {Normal 0,0,0} {Location 0,0,0}";
    
            
            /////// Properties BEGIN
            
        /**
        
			Id of the wall we have hit (level geometry).
		 */
        protected
         String Id = 
        	null;
        
        
        /**
        
			Id of the wall we have hit (level geometry).
		 */
        public
        String getId() {
            return
         Id;
        }
        

        
        /**
        
			Normal of the wall bot collided with.
		 */
        protected
         Vector3d Normal = 
        	null;
        
        
        /**
        
			Normal of the wall bot collided with.
		 */
        public
        Vector3d getNormal() {
            return
         Normal;
        }
        

        
        /**
        
			Absolute location of bot at the time of impact.
		 */
        protected
         Location Location = 
        	null;
        
        
        /**
        
			Absolute location of bot at the time of impact.
		 */
        public
        Location getLocation() {
            return
         Location;
        }
        

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