
            /**
            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.*;    
                
            
            /**
              
		Causes the bot to dodge (do jump) to supported direction.
	
                          Corresponding GameBots command is 
                          DODGE.
                      
             */
            
            public class
            Dodge extends
        CommandMessage
                        
            {
            
            
            
            /**
              Creates new instance of command Dodge.
              
		Causes the bot to dodge (do jump) to supported direction.
	Corresponding GameBots message for this command is 
              DODGE.
                  @param Direction 
			Relative vector, will be normalized. The direction of the
			dodge will be added to current bot rotation.
		
              */
             public Dodge(
                Vector3d Direction) {
                    
                    this.Direction = Direction;
                
                }
               
            
            		/**
		             Creates new instance of command Dodge.
		             
		Causes the bot to dodge (do jump) to supported direction.
	Corresponding GameBots message for this command is 
		             DODGE.
		             <p></p>WARNING: this is empty-command constructor, you have to use setters to fill it up!
		             */
            		public  Dodge() {
            		}
            	
            
            /////// Properties BEGIN
            
        /**
        
			Relative vector, will be normalized. The direction of the
			dodge will be added to current bot rotation.
		 */
        protected
         Vector3d Direction = 
        	null;
        
        
        /**
        
			Relative vector, will be normalized. The direction of the
			dodge will be added to current bot rotation.
		 */
        public
        Vector3d getDirection() {
            return
         Direction;
        }
        

        
            /**         
        
			Relative vector, will be normalized. The direction of the
			dodge will be added to current bot rotation.
		 */
        public Dodge setDirection(Vector3d Direction) {
            this.Direction = Direction;
            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 Dodge(Dodge original) {
                
                     this.Direction=original.Direction;
                
             }   
             
             
                
                 
            public String toString() {
                return
                
                    	super.toString();
                     
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>Direction</b> : " + 
            String.valueOf(Direction) + 
            " <br/> " +
             "";
             }            
             
             
             
                 public String toMessage() {
              		StringBuffer buf = new StringBuffer();
              		buf.append("DODGE");
              		
		    					if (Direction != null) {
		    						buf.append(" {Direction " + 
		    							Direction.getX() + "," + 
		    							Direction.getY() + "," + 
		    							Direction.getZ() + "}");
		    					}
		    				            
            		return buf.toString();
            }
             
             }
                         
        