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 NetTimedActionstatic intgetDuration(PlayerID playerId, byte id) static ActionManagerstatic booleanstatic booleanstatic booleanisRejected(PlayerID playerId, byte id) static voidvoidreplaceObjectInQueuedActions(IsoPlayer player, Object oldItem, Object newItem) voidsetStateFromPacket(zombie.core.Action packet) static voidstart(zombie.core.Action action) static voidstop(zombie.core.Action action) static voidstopPlayerActions(PlayerID playerId) 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) -
stopPlayerActions
-
update
public static void update() -
isRejected
-
isDone
-
isLooped
-
getDuration
-
remove
-
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
-
getAction
-