
            /**
            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.*;    
                
            
            /**
              Will set speed of the game.
                          Corresponding GameBots command is 
                          SETGAMESPEED.
                      
             */
            
            public class
            SetGameSpeed extends
        CommandMessage
                        
            {
            
            
            
            /**
              Creates new instance of command SetGameSpeed.
              Will set speed of the game.Corresponding GameBots message for this command is 
              SETGAMESPEED.
                  @param Speed 
			Can range from 0.1 to 50. 1 is normal game speed. The
			reasonable speeding up is around 10. The game engine stops
			catching up at higher values.
		
              */
             public SetGameSpeed(
                double Speed) {
                    
                    this.Speed = Speed;
                
                }
               
            
            		/**
		             Creates new instance of command SetGameSpeed.
		             Will set speed of the game.Corresponding GameBots message for this command is 
		             SETGAMESPEED.
		             <p></p>WARNING: this is empty-command constructor, you have to use setters to fill it up!
		             */
            		public  SetGameSpeed() {
            		}
            	
            
            /////// Properties BEGIN
            
        /**
        
			Can range from 0.1 to 50. 1 is normal game speed. The
			reasonable speeding up is around 10. The game engine stops
			catching up at higher values.
		 */
        protected
         double Speed = 
        	0;
        
        
        /**
        
			Can range from 0.1 to 50. 1 is normal game speed. The
			reasonable speeding up is around 10. The game engine stops
			catching up at higher values.
		 */
        public
        double getSpeed() {
            return
         Speed;
        }
        

        
            /**         
        
			Can range from 0.1 to 50. 1 is normal game speed. The
			reasonable speeding up is around 10. The game engine stops
			catching up at higher values.
		 */
        public SetGameSpeed setSpeed(double Speed) {
            this.Speed = Speed;
            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 SetGameSpeed(SetGameSpeed original) {
                
                     this.Speed=original.Speed;
                
             }   
             
             
                
                 
            public String toString() {
                return
                
                    	super.toString();
                     
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>Speed</b> : " + 
            String.valueOf(Speed) + 
            " <br/> " +
             "";
             }            
             
             
             
                 public String toMessage() {
              		StringBuffer buf = new StringBuffer();
              		buf.append("SETGAMESPEED");
              		
		    					buf.append(" {Speed " + Speed + "}");
		    				            
            		return buf.toString();
            }
             
             }
                         
        