cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands
Class SetRoute

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.SetRoute

public class SetRoute
extends CommandMessage

Representation of the GameBots2004 command SETROUTE. Set whether you want to draw blue lines between supported locations in the game. You need to enable this in the HUD by pressing ALT + R. (Works in UnrealRuntime2 for now). The lines are drawn between neighbouring points. First is point 0.


Field Summary
protected  java.lang.Boolean Erase
          If true will erase previously set points.
protected  Location Point0
          Location point.
protected  Location Point1
          Location point.
protected  Location Point10
          Location point.
protected  Location Point11
          Location point.
protected  Location Point12
          Location point.
protected  Location Point13
          Location point.
protected  Location Point14
          Location point.
protected  Location Point15
          Location point.
protected  Location Point16
          Location point.
protected  Location Point17
          Location point.
protected  Location Point18
          Location point.
protected  Location Point19
          Location point.
protected  Location Point2
          Location point.
protected  Location Point20
          Location point.
protected  Location Point21
          Location point.
protected  Location Point22
          Location point.
protected  Location Point23
          Location point.
protected  Location Point24
          Location point.
protected  Location Point25
          Location point.
protected  Location Point26
          Location point.
protected  Location Point27
          Location point.
protected  Location Point28
          Location point.
protected  Location Point29
          Location point.
protected  Location Point3
          Location point.
protected  Location Point30
          Location point.
protected  Location Point31
          Location point.
protected  Location Point4
          Location point.
protected  Location Point5
          Location point.
protected  Location Point6
          Location point.
protected  Location Point7
          Location point.
protected  Location Point8
          Location point.
protected  Location Point9
          Location point.
static java.lang.String PROTOTYPE
          Example how the message looks like - used during parser tests.
 
Constructor Summary
SetRoute()
          Creates new instance of command SetRoute.
SetRoute(java.lang.Boolean Erase, Location Point0, Location Point1, Location Point2, Location Point3, Location Point4, Location Point5, Location Point6, Location Point7, Location Point8, Location Point9, Location Point10, Location Point11, Location Point12, Location Point13, Location Point14, Location Point15, Location Point16, Location Point17, Location Point18, Location Point19, Location Point20, Location Point21, Location Point22, Location Point23, Location Point24, Location Point25, Location Point26, Location Point27, Location Point28, Location Point29, Location Point30, Location Point31)
          Creates new instance of command SetRoute.
SetRoute(SetRoute original)
          Cloning constructor.
 
Method Summary
 Location getPoint0()
          Location point.
 Location getPoint1()
          Location point.
 Location getPoint10()
          Location point.
 Location getPoint11()
          Location point.
 Location getPoint12()
          Location point.
 Location getPoint13()
          Location point.
 Location getPoint14()
          Location point.
 Location getPoint15()
          Location point.
 Location getPoint16()
          Location point.
 Location getPoint17()
          Location point.
 Location getPoint18()
          Location point.
 Location getPoint19()
          Location point.
 Location getPoint2()
          Location point.
 Location getPoint20()
          Location point.
 Location getPoint21()
          Location point.
 Location getPoint22()
          Location point.
 Location getPoint23()
          Location point.
 Location getPoint24()
          Location point.
 Location getPoint25()
          Location point.
 Location getPoint26()
          Location point.
 Location getPoint27()
          Location point.
 Location getPoint28()
          Location point.
 Location getPoint29()
          Location point.
 Location getPoint3()
          Location point.
 Location getPoint30()
          Location point.
 Location getPoint31()
          Location point.
 Location getPoint4()
          Location point.
 Location getPoint5()
          Location point.
 Location getPoint6()
          Location point.
 Location getPoint7()
          Location point.
 Location getPoint8()
          Location point.
 Location getPoint9()
          Location point.
 java.lang.Boolean isErase()
          If true will erase previously set points.
 SetRoute setErase(java.lang.Boolean Erase)
          If true will erase previously set points.
 SetRoute setPoint0(Location Point0)
          Location point.
 SetRoute setPoint1(Location Point1)
          Location point.
 SetRoute setPoint10(Location Point10)
          Location point.
 SetRoute setPoint11(Location Point11)
          Location point.
 SetRoute setPoint12(Location Point12)
          Location point.
 SetRoute setPoint13(Location Point13)
          Location point.
 SetRoute setPoint14(Location Point14)
          Location point.
 SetRoute setPoint15(Location Point15)
          Location point.
 SetRoute setPoint16(Location Point16)
          Location point.
 SetRoute setPoint17(Location Point17)
          Location point.
 SetRoute setPoint18(Location Point18)
          Location point.
 SetRoute setPoint19(Location Point19)
          Location point.
 SetRoute setPoint2(Location Point2)
          Location point.
 SetRoute setPoint20(Location Point20)
          Location point.
 SetRoute setPoint21(Location Point21)
          Location point.
 SetRoute setPoint22(Location Point22)
          Location point.
 SetRoute setPoint23(Location Point23)
          Location point.
 SetRoute setPoint24(Location Point24)
          Location point.
 SetRoute setPoint25(Location Point25)
          Location point.
 SetRoute setPoint26(Location Point26)
          Location point.
 SetRoute setPoint27(Location Point27)
          Location point.
 SetRoute setPoint28(Location Point28)
          Location point.
 SetRoute setPoint29(Location Point29)
          Location point.
 SetRoute setPoint3(Location Point3)
          Location point.
 SetRoute setPoint30(Location Point30)
          Location point.
 SetRoute setPoint31(Location Point31)
          Location point.
 SetRoute setPoint4(Location Point4)
          Location point.
 SetRoute setPoint5(Location Point5)
          Location point.
 SetRoute setPoint6(Location Point6)
          Location point.
 SetRoute setPoint7(Location Point7)
          Location point.
 SetRoute setPoint8(Location Point8)
          Location point.
 SetRoute setPoint9(Location Point9)
          Location point.
 SetRoute setRoute(java.util.List<? extends ILocated> route)
           
 java.lang.String toHtmlString()
           
 java.lang.String toMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROTOTYPE

public static final java.lang.String PROTOTYPE
Example how the message looks like - used during parser tests.

See Also:
Constant Field Values

Erase

protected java.lang.Boolean Erase
If true will erase previously set points.


Point0

protected Location Point0
Location point.


Point1

protected Location Point1
Location point.


Point2

protected Location Point2
Location point.


Point3

protected Location Point3
Location point.


Point4

protected Location Point4
Location point.


Point5

protected Location Point5
Location point.


Point6

protected Location Point6
Location point.


Point7

protected Location Point7
Location point.


Point8

protected Location Point8
Location point.


Point9

protected Location Point9
Location point.


Point10

protected Location Point10
Location point.


Point11

protected Location Point11
Location point.


Point12

protected Location Point12
Location point.


Point13

protected Location Point13
Location point.


Point14

protected Location Point14
Location point.


Point15

protected Location Point15
Location point.


Point16

protected Location Point16
Location point.


Point17

protected Location Point17
Location point.


Point18

protected Location Point18
Location point.


Point19

protected Location Point19
Location point.


Point20

protected Location Point20
Location point.


Point21

protected Location Point21
Location point.


Point22

protected Location Point22
Location point.


Point23

protected Location Point23
Location point.


Point24

protected Location Point24
Location point.


Point25

protected Location Point25
Location point.


Point26

protected Location Point26
Location point.


Point27

protected Location Point27
Location point.


Point28

protected Location Point28
Location point.


Point29

protected Location Point29
Location point.


Point30

protected Location Point30
Location point.


Point31

protected Location Point31
Location point.

Constructor Detail

SetRoute

public SetRoute(java.lang.Boolean Erase,
                Location Point0,
                Location Point1,
                Location Point2,
                Location Point3,
                Location Point4,
                Location Point5,
                Location Point6,
                Location Point7,
                Location Point8,
                Location Point9,
                Location Point10,
                Location Point11,
                Location Point12,
                Location Point13,
                Location Point14,
                Location Point15,
                Location Point16,
                Location Point17,
                Location Point18,
                Location Point19,
                Location Point20,
                Location Point21,
                Location Point22,
                Location Point23,
                Location Point24,
                Location Point25,
                Location Point26,
                Location Point27,
                Location Point28,
                Location Point29,
                Location Point30,
                Location Point31)
Creates new instance of command SetRoute. Set whether you want to draw blue lines between supported locations in the game. You need to enable this in the HUD by pressing ALT + R. (Works in UnrealRuntime2 for now). The lines are drawn between neighbouring points. First is point 0. Corresponding GameBots message for this command is SETROUTE.

Parameters:
Erase - If true will erase previously set points.
Point0 - Location point.
Point1 - Location point.
Point2 - Location point.
Point3 - Location point.
Point4 - Location point.
Point5 - Location point.
Point6 - Location point.
Point7 - Location point.
Point8 - Location point.
Point9 - Location point.
Point10 - Location point.
Point11 - Location point.
Point12 - Location point.
Point13 - Location point.
Point14 - Location point.
Point15 - Location point.
Point16 - Location point.
Point17 - Location point.
Point18 - Location point.
Point19 - Location point.
Point20 - Location point.
Point21 - Location point.
Point22 - Location point.
Point23 - Location point.
Point24 - Location point.
Point25 - Location point.
Point26 - Location point.
Point27 - Location point.
Point28 - Location point.
Point29 - Location point.
Point30 - Location point.
Point31 - Location point.

SetRoute

public SetRoute()
Creates new instance of command SetRoute. Set whether you want to draw blue lines between supported locations in the game. You need to enable this in the HUD by pressing ALT + R. (Works in UnrealRuntime2 for now). The lines are drawn between neighbouring points. First is point 0. Corresponding GameBots message for this command is SETROUTE.

WARNING: this is empty-command constructor, you have to use setters to fill it up with data that should be sent to GameBots2004!


SetRoute

public SetRoute(SetRoute original)
Cloning constructor.

Parameters:
original -
Method Detail

isErase

public java.lang.Boolean isErase()
If true will erase previously set points.


setErase

public SetRoute setErase(java.lang.Boolean Erase)
If true will erase previously set points.


getPoint0

public Location getPoint0()
Location point.


setPoint0

public SetRoute setPoint0(Location Point0)
Location point.


getPoint1

public Location getPoint1()
Location point.


setPoint1

public SetRoute setPoint1(Location Point1)
Location point.


getPoint2

public Location getPoint2()
Location point.


setPoint2

public SetRoute setPoint2(Location Point2)
Location point.


getPoint3

public Location getPoint3()
Location point.


setPoint3

public SetRoute setPoint3(Location Point3)
Location point.


getPoint4

public Location getPoint4()
Location point.


setPoint4

public SetRoute setPoint4(Location Point4)
Location point.


getPoint5

public Location getPoint5()
Location point.


setPoint5

public SetRoute setPoint5(Location Point5)
Location point.


getPoint6

public Location getPoint6()
Location point.


setPoint6

public SetRoute setPoint6(Location Point6)
Location point.


getPoint7

public Location getPoint7()
Location point.


setPoint7

public SetRoute setPoint7(Location Point7)
Location point.


getPoint8

public Location getPoint8()
Location point.


setPoint8

public SetRoute setPoint8(Location Point8)
Location point.


getPoint9

public Location getPoint9()
Location point.


setPoint9

public SetRoute setPoint9(Location Point9)
Location point.


getPoint10

public Location getPoint10()
Location point.


setPoint10

public SetRoute setPoint10(Location Point10)
Location point.


getPoint11

public Location getPoint11()
Location point.


setPoint11

public SetRoute setPoint11(Location Point11)
Location point.


getPoint12

public Location getPoint12()
Location point.


setPoint12

public SetRoute setPoint12(Location Point12)
Location point.


getPoint13

public Location getPoint13()
Location point.


setPoint13

public SetRoute setPoint13(Location Point13)
Location point.


getPoint14

public Location getPoint14()
Location point.


setPoint14

public SetRoute setPoint14(Location Point14)
Location point.


getPoint15

public Location getPoint15()
Location point.


setPoint15

public SetRoute setPoint15(Location Point15)
Location point.


getPoint16

public Location getPoint16()
Location point.


setPoint16

public SetRoute setPoint16(Location Point16)
Location point.


getPoint17

public Location getPoint17()
Location point.


setPoint17

public SetRoute setPoint17(Location Point17)
Location point.


getPoint18

public Location getPoint18()
Location point.


setPoint18

public SetRoute setPoint18(Location Point18)
Location point.


getPoint19

public Location getPoint19()
Location point.


setPoint19

public SetRoute setPoint19(Location Point19)
Location point.


getPoint20

public Location getPoint20()
Location point.


setPoint20

public SetRoute setPoint20(Location Point20)
Location point.


getPoint21

public Location getPoint21()
Location point.


setPoint21

public SetRoute setPoint21(Location Point21)
Location point.


getPoint22

public Location getPoint22()
Location point.


setPoint22

public SetRoute setPoint22(Location Point22)
Location point.


getPoint23

public Location getPoint23()
Location point.


setPoint23

public SetRoute setPoint23(Location Point23)
Location point.


getPoint24

public Location getPoint24()
Location point.


setPoint24

public SetRoute setPoint24(Location Point24)
Location point.


getPoint25

public Location getPoint25()
Location point.


setPoint25

public SetRoute setPoint25(Location Point25)
Location point.


getPoint26

public Location getPoint26()
Location point.


setPoint26

public SetRoute setPoint26(Location Point26)
Location point.


getPoint27

public Location getPoint27()
Location point.


setPoint27

public SetRoute setPoint27(Location Point27)
Location point.


getPoint28

public Location getPoint28()
Location point.


setPoint28

public SetRoute setPoint28(Location Point28)
Location point.


getPoint29

public Location getPoint29()
Location point.


setPoint29

public SetRoute setPoint29(Location Point29)
Location point.


getPoint30

public Location getPoint30()
Location point.


setPoint30

public SetRoute setPoint30(Location Point30)
Location point.


getPoint31

public Location getPoint31()
Location point.


setPoint31

public SetRoute setPoint31(Location Point31)
Location point.


toString

public java.lang.String toString()
Overrides:
toString in class CommandMessage

toHtmlString

public java.lang.String toHtmlString()

toMessage

public java.lang.String toMessage()

setRoute

public SetRoute setRoute(java.util.List<? extends ILocated> route)