Package soc.qase.state

Examples of soc.qase.state.World


*  the agent is alive or needs to be respawned, and then calls the
*  runAI method. */
/*-------------------------------------------------------------------*/
  public void run()
  {
    World world = null;
    int curFrameNum = -1;

    while(isConnected())
    {
      world = proxy.getWorld();

      if(world != null && world.getFrame() != curFrameNum)
      {
        mapChanged = !mapName.equals(getServerInfo().getMapName());

        if(mapChanged)
        {
          mapName = getServerInfo().getMapName();
          bsp.reset();
        }

        curFrameNum = world.getFrame();

        if(!isBotAlive())
        {
          if(getAction(Action.ATTACK))
            pacify();
View Full Code Here

TOP

Related Classes of soc.qase.state.World

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.