Examples of movePlayer()


Examples of scotlandyard.engine.spec.IGame.movePlayer()

          if(newPosition==null){throw new Exception("New position is unknown");}

          final Integer transport = Integer.parseInt(parameters.get("transport"));
          if(transport==null){throw new Exception("Transport is unknown");}

          game.movePlayer(player.getEmail(), newPosition, transport);
         
          if(player.isMrx()){
            String msg = "<img src='http://scotlandyard.comule.com/get_icon.php?icon="+((int)Math.pow(2,transport))+"' width='32' height='32' alt='"+ BMap.convTransport(transport)+"'/>["+BMap.convTransport(transport)+"] was used by Mr X";
            new send_chat("SYSTEM",msg).processRequest(sid);
          }
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.