
            /**
            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 pause/unpause the game. The game can be paused just if
		bAllowPause = true in BotAPI.ini (different settings for bots
		and server possible).
	
                          Corresponding GameBots command is 
                          PAUSE.
                      
             */
            
            public class
            Pause extends
        CommandMessage
                        
            {
            
            
            
            /**
              Creates new instance of command Pause.
              
		Will pause/unpause the game. The game can be paused just if
		bAllowPause = true in BotAPI.ini (different settings for bots
		and server possible).
	Corresponding GameBots message for this command is 
              PAUSE.
                  @param PauseBots 
			Iif true only bots will be paused – players and spectators
			will move freely.
		
                  @param PauseAll 
			Everyone in the game will be paused if set to true. To
			unpause send PAUSE command with PauseAll set to false.
		
              */
             public Pause(
                boolean PauseBots,  boolean PauseAll) {
                    
                    this.PauseBots = PauseBots;
                
                    this.PauseAll = PauseAll;
                
                }
               
            
            		/**
		             Creates new instance of command Pause.
		             
		Will pause/unpause the game. The game can be paused just if
		bAllowPause = true in BotAPI.ini (different settings for bots
		and server possible).
	Corresponding GameBots message for this command is 
		             PAUSE.
		             <p></p>WARNING: this is empty-command constructor, you have to use setters to fill it up!
		             */
            		public  Pause() {
            		}
            	
            
            /////// Properties BEGIN
            
        /**
        
			Iif true only bots will be paused – players and spectators
			will move freely.
		 */
        protected
         boolean PauseBots = 
        	false;
        
        
        /**
        
			Iif true only bots will be paused – players and spectators
			will move freely.
		 */
        public
        boolean isPauseBots() {
            return
         PauseBots;
        }
        

        
            /**         
        
			Iif true only bots will be paused – players and spectators
			will move freely.
		 */
        public Pause setPauseBots(boolean PauseBots) {
            this.PauseBots = PauseBots;
            return this;
            }
       
        /**
        
			Everyone in the game will be paused if set to true. To
			unpause send PAUSE command with PauseAll set to false.
		 */
        protected
         boolean PauseAll = 
        	false;
        
        
        /**
        
			Everyone in the game will be paused if set to true. To
			unpause send PAUSE command with PauseAll set to false.
		 */
        public
        boolean isPauseAll() {
            return
         PauseAll;
        }
        

        
            /**         
        
			Everyone in the game will be paused if set to true. To
			unpause send PAUSE command with PauseAll set to false.
		 */
        public Pause setPauseAll(boolean PauseAll) {
            this.PauseAll = PauseAll;
            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 Pause(Pause original) {
                
                     this.PauseBots=original.PauseBots;
                
                     this.PauseAll=original.PauseAll;
                
             }   
             
             
                
                 
            public String toString() {
                return
                
                    	super.toString();
                     
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>PauseBots</b> : " + 
            String.valueOf(PauseBots) + 
            " <br/> " +
             
            "<b>PauseAll</b> : " + 
            String.valueOf(PauseAll) + 
            " <br/> " +
             "";
             }            
             
             
             
                 public String toMessage() {
              		StringBuffer buf = new StringBuffer();
              		buf.append("PAUSE");
              		
		    					buf.append(" {PauseBots " + PauseBots + "}");
		    				
		    					buf.append(" {PauseAll " + PauseAll + "}");
		    				            
            		return buf.toString();
            }
             
             }
                         
        