1 package cz.cuni.amis.pogamut.usar2004.communication.messages.usarcommands;
2
3 import cz.cuni.amis.pogamut.base.communication.messages.*;
4 import cz.cuni.amis.pogamut.usar2004.communication.messages.datatypes.CustomTypes.*;
5
6 /**
7 *
8 * Basic command, for different arenas, we need different positions. The
9 * recommended positions can be queried by this command
10 *
11 * Corresponding GameBots command is GETSTARTPOSES.//obsolete use STARTPOSES
12 * instead
13 *
14 */
15 public class GetStartPoses extends CommandMessage
16 {
17 /**
18 * <p></p>WARNING: this is empty-command constructor, you have to use
19 * setters to fill it up!
20 */
21 public GetStartPoses()
22 {
23 }
24
25 /////// Properties BEGIN
26 /////// Properties END
27 /////// Extra Java code BEGIN
28 /////// Additional code from xslt BEGIN
29 /////// Additional code from xslt END
30 /////// Extra Java from XML BEGIN
31 /////// Extra Java from XML END
32 /////// Extra Java code END
33 /**
34 * Cloning constructor.
35 */
36 public GetStartPoses(GetConf original)
37 {
38 }
39
40 @Override
41 public String toString()
42 {
43 return toMessage();
44 }
45
46 public String toHtmlString()
47 {
48 return super.toString();
49 }
50
51 public String toMessage()
52 {
53
54 StringBuilder buf = new StringBuilder();
55
56 //buf.append("GETSTARTPOSES"); //Obsolete
57 buf.append("STARTPOSES"); //Use this instead
58
59
60 return buf.toString();
61 }
62 }