Search:

Type: Posts; User: Jergetson

Search: Search took 0.07 seconds.

  1. Replies
    4
    Views
    1,349

    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,349

    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,349

    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...
  4. Replies
    4
    Views
    1,405

    Re: Best way avoiding ConcurrentModifications

    Theres 24 players and I want to report to each of them how much time is left each second. It's a plugin for a game, so if you kill someone you get the time which the other person had, and so on. So...
  5. Replies
    4
    Views
    1,405

    Best way avoiding ConcurrentModifications

    Hey.

    I have a HashMap like this:

    HashMap<Player, Integer> players = new HashMap<Player, Integer>();

    The int is for the amount of seconds the player has left. Each second one second is...
Results 1 to 5 of 5