Package civquest.units.move

Examples of civquest.units.move.MoveStep


      Set<Long> group = unitGroups.iterator().next();
      Coordinate from = getPosition(group);
      Coordinate delta = getDirection();
      Coordinate to = Game.getMapData().adjustToMapSize(from.add(delta));
     
      MoveStep step = new MoveStep(group, to);

      UnitMover unitMover = quadMap.getUnitMover();
      UnitMover.MoveInfo moveInfo
        = unitMover.getMovementChanges(Game.getGame(), step);
View Full Code Here


      if (path.isEmpty()) {
        continue;
      }


      MoveStep step = path.getFirstStep();
     
      UnitMover.MoveInfo moveInfo
        = unitMover.getMovementChanges(Game.getGame(), step);

      if (moveInfo.canMoveNow()) {
View Full Code Here

TOP

Related Classes of civquest.units.move.MoveStep

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.