Package org.scotlandyard.engine

Examples of org.scotlandyard.engine.BoardMap


    if(mapId==null || "".equals(mapId)){
      throw new GameException("map can not be null");
    }

    final BoardMap boardMap = engine.getNewBoardMap(mapId);

    //TODO change this to be dynamic map

    boardMap.prepareMap(getServletContext().getRealPath("/maps/pnth.xml"));


    engine.getNewGame(gameId, user, boardMap);

    return (JsonFactory.toJson("done"));
View Full Code Here

TOP

Related Classes of org.scotlandyard.engine.BoardMap

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.