
            /**
            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. Sent as a response to ENTER command. Sent if
		the ENTER command was successfull. Means we are now driving the vehicle.
		Beware! When in vehicle just command RUNTO with Target specified works for move commands. Any other move commands will cause vehicle to got straight ahead.
	Also it is not possible to control speed or steering at this moment. Everything is done automaticaly by RUNTO with Target specified.
	
                          Corresponding GameBots message is 
                          ENTERED.
                      
             */
            
            public class
            EnteredVehicle
                    extends GBEvent
                
	            	implements IWorldEvent
                        
            {
            
            
            
    	/** Example how the message looks like - used during parser tests. */
    	public static final String PROTOTYPE = 
    		"ENTERED {Id unreal_id} {Type text} {Location 0,0,0}";
    
            
            /////// Properties BEGIN
            
        /**
        Id of the vehicle entered.  */
        protected
         UnrealId Id = 
        	null;
        
        
        /**
        Id of the vehicle entered.  */
        public
        UnrealId getId() {
            return
         Id;
        }
        

        
        /**
        Type of the vehicle entered. What kind of turret or car.  */
        protected
         String Type = 
        	null;
        
        
        /**
        Type of the vehicle entered. What kind of turret or car.  */
        public
        String getType() {
            return
         Type;
        }
        

        
        /**
        Location of the vehicle. */
        protected
         Location Location = 
        	null;
        
        
        /**
        Location of the vehicle. */
        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 EnteredVehicle(EnteredVehicle original) {
                
                     this.Id=original.Id;
                
                     this.Type=original.Type;
                
                     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 EnteredVehicle() {
	             }
             
                
                 
            public String toString() {
                return
                
                		super.toString() + " | " +
                		
				               "Id = " + 
				               String.valueOf(Id) + " | " +
				            
				               "Type = " + 
				               String.valueOf(Type) + " | " +
				            
				               "Location = " + 
				               String.valueOf(Location) + " | " +
				             "";
                	 
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>Id</b> : " + 
            String.valueOf(Id) + 
            " <br/> " +
             
            "<b>Type</b> : " + 
            String.valueOf(Type) + 
            " <br/> " +
             
            "<b>Location</b> : " + 
            String.valueOf(Location) + 
            " <br/> " +
             "";
             }            
             
             
             
             }
                         
        