diff options
| author | ilotterytea <iltsu@alright.party> | 2025-01-22 00:40:57 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-01-22 00:41:39 +0500 |
| commit | a7f77c115bc95eb8a667df1146cc26dc17367879 (patch) | |
| tree | 77b08b0cb4f07f9b3d21c277d5621bd0ee5a488c /shared/src/main/java/kz/ilotterytea/frogartha/utils/SerializerUtils.java | |
| parent | e4997681a2d08adc9b9055b0b2a1dc52d54edd47 (diff) | |
feat: player jumps like a frog!!! (FROGartha reference) + player state
Diffstat (limited to 'shared/src/main/java/kz/ilotterytea/frogartha/utils/SerializerUtils.java')
| -rw-r--r-- | shared/src/main/java/kz/ilotterytea/frogartha/utils/SerializerUtils.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/src/main/java/kz/ilotterytea/frogartha/utils/SerializerUtils.java b/shared/src/main/java/kz/ilotterytea/frogartha/utils/SerializerUtils.java index bf0c3f3..1c62e0d 100644 --- a/shared/src/main/java/kz/ilotterytea/frogartha/utils/SerializerUtils.java +++ b/shared/src/main/java/kz/ilotterytea/frogartha/utils/SerializerUtils.java @@ -2,7 +2,9 @@ package kz.ilotterytea.frogartha.utils; import com.github.czyzby.websocket.serialization.impl.ManualSerializer; import kz.ilotterytea.frogartha.domain.Identity; +import kz.ilotterytea.frogartha.domain.client.PlayerJumpAction; import kz.ilotterytea.frogartha.domain.server.Acknowledge; +import kz.ilotterytea.frogartha.events.PlayerJumpEvent; import kz.ilotterytea.frogartha.exceptions.PlayerKickException; public class SerializerUtils { @@ -10,5 +12,7 @@ public class SerializerUtils { serializer.register(new Acknowledge()); serializer.register(new Identity()); serializer.register(new PlayerKickException()); + serializer.register(new PlayerJumpAction()); + serializer.register(new PlayerJumpEvent()); } } |
