Package com.kellerkindt.scs.events

Examples of com.kellerkindt.scs.events.ShowCaseItemRemoveEvent


    ShowCaseShopEvent event = null;
   
    // call the event
    if (toAdd < 0) {
      // set event
      event = new ShowCaseItemRemoveEvent(player, shop, toAdd*-1, stack).setVerify(false);
     
    } else {
      // set event
      event = new ShowCaseItemAddEvent(player, shop, toAdd, stack).setVerify(false);
    }
View Full Code Here


          event.setMsgSuccessfully(Term.MESSAGE_SUCCESSFULL_DESTROYED.get());
          break;
         
        // remove items
        case GET_ITEMS:
          event   = new ShowCaseItemRemoveEvent(player, shop, (int)amount, shop.getItemStack());
          break;
         
        // set the new limit of a shop
        case LIMIT:
          event   = new ShowCaseLimitEvent(player, shop, (int)amount);
View Full Code Here

TOP

Related Classes of com.kellerkindt.scs.events.ShowCaseItemRemoveEvent

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.