Class ActionManager
java.lang.Object
zombie.core.ActionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidadd(zombie.core.Action action) bytecreateBuildAction(IsoPlayer player, float x, float y, float z, boolean north, String spriteName, se.krka.kahlua.vm.KahluaTable item) bytecreateFishingAction(IsoPlayer player, InventoryItem item, IsoGridSquare sq, se.krka.kahlua.vm.KahluaTable bobber) bytecreateNetTimedAction(IsoPlayer player, se.krka.kahlua.vm.KahluaTable actionTable) voiddisconnectPlayer(UdpConnection connection) static intgetDuration(byte id) static ActionManagerstatic IsoPlayergetPlayer(byte id) static booleanisDone(byte id) static booleanisLooped(byte id) static booleanisRejected(byte id) static voidremove(byte id, boolean isCanceled) voidreplaceObjectInQueuedActions(IsoPlayer player, Object oldItem, Object newItem) voidsetStateFromPacket(zombie.core.Action packet) static voidstart(zombie.core.Action action) static voidstop(zombie.core.Action action) static voidupdate()
-
Constructor Details
-
ActionManager
public ActionManager()
-
-
Method Details
-
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
-
remove
public static void remove(byte id, boolean isCanceled) -
createNetTimedAction
-
createBuildAction
-
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
-
replaceObjectInQueuedActions
-