Class ActionManager

java.lang.Object
zombie.core.ActionManager

public class ActionManager extends Object
  • Constructor Details

    • ActionManager

      public ActionManager()
  • Method Details

    • getInstance

      public static ActionManager getInstance()
    • start

      public static void start(zombie.core.Action action)
    • add

      public static void add(zombie.core.Action action)
    • stop

      public static void stop(zombie.core.Action action)
    • update

      public static void update()
    • isRejected

      public static boolean isRejected(byte id)
    • isDone

      public static boolean isDone(byte id)
    • isLooped

      public static boolean isLooped(byte id)
    • getDuration

      public static int getDuration(byte id)
    • getPlayer

      public static IsoPlayer getPlayer(byte id)
    • remove

      public static void remove(byte id, boolean isCanceled)
    • createNetTimedAction

      public byte createNetTimedAction(IsoPlayer player, se.krka.kahlua.vm.KahluaTable actionTable)
    • createBuildAction

      public byte createBuildAction(IsoPlayer player, float x, float y, float z, boolean north, String spriteName, se.krka.kahlua.vm.KahluaTable item)
    • createFishingAction

      public byte createFishingAction(IsoPlayer player, InventoryItem item, IsoGridSquare sq, se.krka.kahlua.vm.KahluaTable bobber)
    • setStateFromPacket

      public void setStateFromPacket(zombie.core.Action packet)
    • disconnectPlayer

      public void disconnectPlayer(UdpConnection connection)
    • replaceObjectInQueuedActions

      public void replaceObjectInQueuedActions(IsoPlayer player, Object oldItem, Object newItem)