Class FakeQueueManager

  • All Implemented Interfaces:
    IQueueManager

    public class FakeQueueManager
    extends java.lang.Object
    implements IQueueManager
    Fake queue manager, always give turns, when you have no limits
    Since:
    03.11.2018
    Author:
    GoodforGod
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean takeTurn()
      Waits in queue for chance to take turn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FakeQueueManager

        public FakeQueueManager()
    • Method Detail

      • takeTurn

        public boolean takeTurn()
        Description copied from interface: IQueueManager
        Waits in queue for chance to take turn
        Specified by:
        takeTurn in interface IQueueManager
        Returns:
        is turn available