cz.cuni.amis.pogamut.udk.communication.messages.gbcommands
Class FactoryUse

Package class diagram package FactoryUse
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
      extended by cz.cuni.amis.pogamut.udk.communication.messages.gbcommands.FactoryUse

public class FactoryUse
extends CommandMessage

Works only in BotScenario GameType. Bot tries to use Factory - he needs to be at factory position + he needs to have enough adrenaline to trigger the factory. Game responds with USED (FactoryUsed) message. The item will be spawned at bot's location. Corresponding GameBots command is USE.


Constructor Summary
FactoryUse()
          Creates new instance of command FactoryUse.
FactoryUse(FactoryUse original)
          Cloning constructor.
 
Method Summary
 String toHtmlString()
           
 String toMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FactoryUse

public FactoryUse()
Creates new instance of command FactoryUse. Works only in BotScenario GameType. Bot tries to use Factory - he needs to be at factory position + he needs to have enough adrenaline to trigger the factory. Game responds with USED (FactoryUsed) message. The item will be spawned at bot's location. Corresponding GameBots message for this command is USE.


FactoryUse

public FactoryUse(FactoryUse original)
Cloning constructor.

Method Detail

toString

public String toString()
Overrides:
toString in class CommandMessage

toHtmlString

public String toHtmlString()

toMessage

public String toMessage()


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.