Examples of useTokenToMove()


Examples of org.scotlandyard.engine.Player.useTokenToMove()

    Token token = player.getTokens(game.getIdentifier())
      .get(TransportationMethod.valueOf(transportationMethod));

    token.consumeTicket();

    player.useTokenToMove(game.getIdentifier(), token, positionReg);


    return JsonFactory.toJson(position);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.