
            /**
            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. When we trigger some trigger. TODO:
		Experiment message.
	
                          Corresponding GameBots message is 
                          TRG.
                      
             */
            
            public class
            Trigger
                    extends GBEvent
                
	            	implements IWorldEvent
                        
            {
            
            
            
    	/** Example how the message looks like - used during parser tests. */
    	public static final String PROTOTYPE = 
    		"TRG {Actor text} {EventInstigator unreal_id}";
    
            
            /////// Properties BEGIN
            
        /**
        
			Should be the trigger we have triggered.
		 */
        protected
         String Actor = 
        	null;
        
        
        /**
        
			Should be the trigger we have triggered.
		 */
        public
        String getActor() {
            return
         Actor;
        }
        

        
        /**
        
			Should be the Id of the player who triggered this
			(ourself?).
		 */
        protected
         UnrealId EventInstigator = 
        	null;
        
        
        /**
        
			Should be the Id of the player who triggered this
			(ourself?).
		 */
        public
        UnrealId getEventInstigator() {
            return
         EventInstigator;
        }
        

        
            /////// 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 Trigger(Trigger original) {
                
                     this.Actor=original.Actor;
                
                     this.EventInstigator=original.EventInstigator;
                
             }   
             
             
                 /**
                  * Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
                  */
	             public Trigger() {
	             }
             
                
                 
            public String toString() {
                return
                
                		super.toString() + " | " +
                		
				               "Actor = " + 
				               String.valueOf(Actor) + " | " +
				            
				               "EventInstigator = " + 
				               String.valueOf(EventInstigator) + " | " +
				             "";
                	 
             }
             
             public String toHtmlString() {
                return super.toString() +
             
            "<b>Actor</b> : " + 
            String.valueOf(Actor) + 
            " <br/> " +
             
            "<b>EventInstigator</b> : " + 
            String.valueOf(EventInstigator) + 
            " <br/> " +
             "";
             }            
             
             
             
             }
                         
        