1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Pattern based bank deposit/withdraw/get

Discussion in 'Client & Site Suggestions' started by frazboyz, Apr 24, 2015.

  1. frazboyz

    Joined:
    Nov 15, 2013
    Messages:
    339
    Likes Received:
    56
    Similar to the inventory pattern based get functions. Basically create Bank.withdraw(pattern, amount) etc.
     
  2. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    Support, would save lines of code used for filters
     
  3. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    It's not exactly what you asked for but I'm going ahead and adding Bank.deposit/withdraw(SpriteItem), that way you can use a query with a pattern object in it to get a specific item to interact with. Allowing you to pass a pattern in using a special utility method wouldn't really conform with the rest of the api.
     

Share This Page

Loading...