Search:

Type: Posts; User: Jergetson

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    1,355

    Re: Creating a "repeator" method.

    I figured out one solution after stopping for a minute and thinking. Having only two arguments. add(Item, ItemOptions). ItemOptions being a class which could be used as following:


    new...
  2. Replies
    4
    Views
    1,355

    Re: Creating a "repeator" method.

    :D It's a inventory builder for a game. Its idea is to place items in a inventory. The inventory has 9 items per row, so in this case it would be:

    with this code:

    new...
  3. Replies
    4
    Views
    1,355

    Creating a "repeator" method.

    Hey.


    I've been trying to figure out how to do this for a few hours now. I have this sort of code:

    new InventoryBuilder().add("Item").empty(8).add("Item");

    Now, if I would want, say 8 times...
Results 1 to 3 of 3