View Javadoc

1   
2               /**
3               IMPORTANT !!!
4   
5               DO NOT EDIT THIS FILE. IT IS GENERATED FROM approriate xml file in xmlresources/gbcommands 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.gbcommands;
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  		Will shutdown the connection and potentialy kill and remove the
35  		bot from a game (if sent to bot), the same can be achieved just
36  		by closing the connection.
37  	
38                            Corresponding GameBots command is
39                            QUIT.
40                        
41               */
42              
43              public class
44              Quit extends
45          CommandMessage
46  
47              {
48              
49              /**
50                Creates new instance of command Quit.
51                
52  		Will shutdown the connection and potentialy kill and remove the
53  		bot from a game (if sent to bot), the same can be achieved just
54  		by closing the connection.
55  	Corresponding GameBots message for this command is
56                QUIT.
57                */
58               public Quit(
59                  ) {
60                      
61                  }
62  
63              
64  
65              /////// Properties BEGIN
66              
67              /////// Properties END
68  
69              /////// Extra Java code BEGIN
70  
71              	/////// Additional code from xslt BEGIN
72              		
73  
74  
75              	/////// Additional code from xslt END
76  
77  	            /////// Extra Java from XML BEGIN
78              		
79              	/////// Extra Java from XML END
80  
81              /////// Extra Java code END
82  
83              
84  
85              /**
86                * Cloning constructor.
87                */
88               public Quit(Quit original) {
89                  
90               }
91  
92               
93  
94                   
95              public String toString() {
96                  return
97                  
98                      	toMessage();
99                      
100              }
101 
102              public String toHtmlString() {
103                 return super.toString() +
104              "";
105              }
106 
107              
108              
109              	 public String toMessage() {
110               		StringBuffer buf = new StringBuffer();
111               		buf.append("QUIT");
112               		
113             		return buf.toString();
114             }
115              
116              }
117 
118