
            /**
            IMPORTANT !!!
       
            DO NOT EDIT THIS FILE. IT IS GENERATED FROM approriate xml file in xmlresources/gbcommands BY
            THE JavaClassesGenerator.xslt. MODIFY THESE FILES INSTEAD OF THIS ONE.
       
            IMPORTANT END !!!
            */
            package
            cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands;
	    		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.*;    
                
            
            /**
              
		Tries to enter vehicle specified by Id. Note:
		You have to be in vehicle EntryRadius to enter (default 100 ut units). 
		Response to this command are messages ENTERED and LOCKED.
		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 command is 
                          ENTER.
                      
             */
            
            public class
            EnterVehicle extends
        CommandMessage
                        
            {
            
            
            
            /**
              Creates new instance of command EnterVehicle.
              
		Tries to enter vehicle specified by Id. Note:
		You have to be in vehicle EntryRadius to enter (default 100 ut units). 
		Response to this command are messages ENTERED and LOCKED.
		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 for this command is 
              ENTER.
                  @param Id Id of the vehicle we want to enter.
              */
             public EnterVehicle(
                UnrealId Id) {
                    
                    this.Id = Id;
                
                }
               
            
            		/**
		             Creates new instance of command EnterVehicle.
		             
		Tries to enter vehicle specified by Id. Note:
		You have to be in vehicle EntryRadius to enter (default 100 ut units). 
		Response to this command are messages ENTERED and LOCKED.
		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 for this command is 
		             ENTER.
		             <p></p>WARNING: this is empty-command constructor, you have to use setters to fill it up!
		             */
            		public  EnterVehicle() {
            		}
            	
            
            /////// Properties BEGIN
            
        /**
        Id of the vehicle we want to enter. */
        protected
         UnrealId Id = 
        	null;
        
        
        /**
        Id of the vehicle we want to enter. */
        public
        UnrealId getId() {
            return
         Id;
        }
        

        
            /**         
        Id of the vehicle we want to enter. */
        public EnterVehicle setId(UnrealId Id) {
            this.Id = Id;
            return this;
            }
       
            /////// 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 EnterVehicle(EnterVehicle original) {
                
                     this.Id=original.Id;
                
             }   
             
             
                
                 
            public String toString() {
                return
                
                    	super.toString();
                     
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>Id</b> : " + 
            String.valueOf(Id) + 
            " <br/> " +
             "";
             }            
             
             
             
                 public String toMessage() {
              		StringBuffer buf = new StringBuffer();
              		buf.append("ENTER");
              		
		    					if (Id != null) {
		    						buf.append(" {Id " + Id.getUnrealId() + "}");
		    					}
		    				            
            		return buf.toString();
            }
             
             }
                         
        