View Javadoc

1   
2               /**
3               IMPORTANT !!!
4   
5               DO NOT EDIT THIS FILE. IT IS GENERATED FROM approriate xml file in xmlresources/gbinfomessages BY
6               THE JavaClassesGenerator.xslt. MODIFY THESE FILES INSTEAD OF THIS ONE.
7   
8               IMPORTANT END !!!
9               */
10              package
11              cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages;
12  	    		import java.util.*;
13      import javax.vecmath.*;
14      import cz.cuni.amis.pogamut.base.communication.messages.*;
15      import cz.cuni.amis.pogamut.base.communication.worldview.*;
16      import cz.cuni.amis.pogamut.base.communication.worldview.event.*;
17      import cz.cuni.amis.pogamut.base.communication.worldview.object.*;
18      import cz.cuni.amis.pogamut.base.communication.translator.event.*;
19      import cz.cuni.amis.pogamut.base3d.worldview.object.*;
20      import cz.cuni.amis.pogamut.base3d.worldview.object.event.*;
21      import cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId;
22      import cz.cuni.amis.pogamut.udk.communication.messages.*;
23      import cz.cuni.amis.pogamut.udk.communication.worldview.objects.*;
24      import cz.cuni.amis.pogamut.udk.communication.translator.itemdescriptor.*;
25      import cz.cuni.amis.pogamut.udk.communication.messages.ItemType.Category;
26      import cz.cuni.amis.utils.exception.*;
27      import cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdateResult.Result;
28      import cz.cuni.amis.utils.SafeEquals;
29      import cz.cuni.amis.pogamut.multi.communication.worldview.object.*;
30      
31              
32              /**
33                
34  		Asynchronous message. You get this every time the bot gets
35  		respawned. When the match is not started yet and you connect to
36  		the server, there is delay in sending this message, it will be
37  		sent when the match will start, although the bot will be spawned
38  		in the game for a few seconds at that time.
39  	
40                            Corresponding GameBots message is
41                            SPW.
42                        
43               */
44              
45              public class
46              Spawn
47                      extends GBEvent
48                  
49  	            	implements IWorldEvent, IWorldChangeEvent
50  
51              {
52              
53      	/** Example how the message looks like - used during parser tests. */
54      	public static final String PROTOTYPE =
55      		"SPW";
56      
57  
58              /////// Properties BEGIN
59              
60              /////// Properties END
61  
62              /////// Extra Java code BEGIN
63  
64              	/////// Additional code from xslt BEGIN
65              		
66         					public long getSimTime() {
67         						// NOT IMPLEMENTED FOR UDK
68         						return 0;
69         					}
70              		
71  
72  
73              	/////// Additional code from xslt END
74  
75  	            /////// Extra Java from XML BEGIN
76              		
77              	/////// Extra Java from XML END
78  
79              /////// Extra Java code END
80  
81              
82  
83              /**
84                * Cloning constructor.
85                */
86               public Spawn(Spawn original) {
87                  
88               }
89  
90               
91                   /**
92                    * Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
93                    */
94  	             public Spawn() {
95  	             }
96               
97  
98                   
99              public String toString() {
100                 return
101                 
102                 		super.toString() + " | " +
103                 		 "";
104                 	
105              }
106 
107              public String toHtmlString() {
108                 return super.toString() +
109              "";
110              }
111 
112              
113              
114              }
115 
116