Something fixed

This commit is contained in:
ThomasCharester committed 2026-11-10 00:28:25 +03:00
1 parent f40a10912c
commit 7d236d14cd
72 files changed
+270482 -11409

No files matched your search

@@ -9,7 +9,8 @@ namespace Code.OfficeGame.BattleMode.Actions
var snapshot = new AttackBattleActionData()
{
TotalFrames = TotalFrames,
CurrentFrame = CurrentFrame
CurrentFrame = CurrentFrame,
TransitionFrames = TransitionFrames,
};
return snapshot;
@@ -21,6 +22,7 @@ namespace Code.OfficeGame.BattleMode.Actions
TotalFrames = neededSnapshot.TotalFrames;
CurrentFrame = neededSnapshot.CurrentFrame;
TransitionFrames = neededSnapshot.TransitionFrames;
}
}
}
@@ -31,7 +31,10 @@ namespace Code.OfficeGame.BattleMode.Actions
Rotation = Rotation,
Path = Path,
Corners = cornersCopy,
CurrentCornerIndex = CurrentCornerIndex
WasStarted = WasStarted,
CurrentCornerIndex = CurrentCornerIndex,
IsRotateOnly = IsRotateOnly,
CurrentFrame = CurrentFrame
};
}
@@ -41,10 +44,13 @@ namespace Code.OfficeGame.BattleMode.Actions
if (snapshot is not MovementBattleActionData moveSnapshot) return;
CurrentFrame = moveSnapshot.CurrentFrame;
Position = moveSnapshot.Position;
Rotation = moveSnapshot.Rotation;
Path = moveSnapshot.Path;
CurrentCornerIndex = moveSnapshot.CurrentCornerIndex;
WasStarted = moveSnapshot.WasStarted;
IsRotateOnly = moveSnapshot.IsRotateOnly;
if (moveSnapshot.Corners != null)
{
@@ -9,7 +9,8 @@ namespace Code.OfficeGame.BattleMode.Actions
var snapshot = new AttackBattleActionData()
{
TotalFrames = TotalFrames,
CurrentFrame = CurrentFrame
CurrentFrame = CurrentFrame,
TransitionFrames = TransitionFrames,
};
return snapshot;
@@ -21,6 +22,7 @@ namespace Code.OfficeGame.BattleMode.Actions
TotalFrames = neededSnapshot.TotalFrames;
CurrentFrame = neededSnapshot.CurrentFrame;
TransitionFrames = neededSnapshot.TransitionFrames;
}
}
}
@@ -9,7 +9,8 @@ namespace Code.OfficeGame.BattleMode.Actions
return new WaitBattleActionData
{
TotalFrames = TotalFrames,
WaitFrames = WaitFrames
WaitFrames = WaitFrames,
StartedWaiting = StartedWaiting
};
}
@@ -20,6 +21,7 @@ namespace Code.OfficeGame.BattleMode.Actions
if (snapshot is not WaitBattleActionData waitSnapshot) return;
WaitFrames = waitSnapshot.WaitFrames;
StartedWaiting = waitSnapshot.StartedWaiting;
}
}
}