fix(S-02): remove unused host field from PlayerMovement (review)
This commit is contained in:
@@ -191,7 +191,7 @@ public class PlayerBindState implements IRestrainable, IPlayerBindStateHost {
|
|||||||
this.captivity = new PlayerCaptivity(this);
|
this.captivity = new PlayerCaptivity(this);
|
||||||
|
|
||||||
// Initialize movement component
|
// Initialize movement component
|
||||||
this.movement = new PlayerMovement(this);
|
this.movement = new PlayerMovement();
|
||||||
|
|
||||||
this.captor = null;
|
this.captor = null;
|
||||||
this.captorManager = new PlayerCaptorManager(player);
|
this.captorManager = new PlayerCaptorManager(player);
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
package com.tiedup.remake.state.components;
|
package com.tiedup.remake.state.components;
|
||||||
|
|
||||||
import com.tiedup.remake.state.hosts.IPlayerBindStateHost;
|
|
||||||
import com.tiedup.remake.v2.bondage.movement.MovementStyle;
|
import com.tiedup.remake.v2.bondage.movement.MovementStyle;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
@@ -13,8 +12,6 @@ import org.jetbrains.annotations.Nullable;
|
|||||||
*/
|
*/
|
||||||
public class PlayerMovement {
|
public class PlayerMovement {
|
||||||
|
|
||||||
private final IPlayerBindStateHost host;
|
|
||||||
|
|
||||||
// --- Resolved style state ---
|
// --- Resolved style state ---
|
||||||
@Nullable
|
@Nullable
|
||||||
private MovementStyle activeMovementStyle;
|
private MovementStyle activeMovementStyle;
|
||||||
@@ -35,8 +32,7 @@ public class PlayerMovement {
|
|||||||
private double lastY;
|
private double lastY;
|
||||||
private double lastZ;
|
private double lastZ;
|
||||||
|
|
||||||
public PlayerMovement(IPlayerBindStateHost host) {
|
public PlayerMovement() {
|
||||||
this.host = host;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- Resolved style ---
|
// --- Resolved style ---
|
||||||
|
|||||||
Reference in New Issue
Block a user