Class GroundMovement

All Implemented Interfaces:
LifeMovement, LifeMovementFragment

public class GroundMovement extends AbstractLifeMovement
代表地面靜止或接地狀態的生物移動片段。

繼承自 AbstractLifeMovement,序列化內容僅包含移動類型、新狀態碼與持續時間, 不附帶位置座標。此為封包格式最精簡的移動片段,對應生物停止於地面、接地或特定無位移動作指令, 由 handling.channel.handler.MovementParse 解析後廣播給同地圖其他客戶端。

  • Constructor Details

    • GroundMovement

      public GroundMovement(int type, Point position, int duration, int newstate)
  • Method Details