Package org.pokenet.server.backend

Examples of org.pokenet.server.backend.ItemProcessor


        break;
      case 'I':
        //Use an item, applies inside and outside of battle
        details = message.substring(1).split(",");
        System.out.println("Item used. "+message);
        new Thread(new ItemProcessor(p, details)).start();
        break;
      case 'i':
        //Drop item
        if(p.getBag().removeItem(Integer.parseInt(message.substring(1)), 1)) {
          TcpProtocolHandler.writeMessage(p.getTcpSession(), new ItemMessage(false,
View Full Code Here

TOP

Related Classes of org.pokenet.server.backend.ItemProcessor

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.