SimClock owns the game tick: TickRate, GameStep, ForGame(); the 60 default and ActionGameManager's literal step are gone

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-10-22 20:23:53 +02:00
commit e2f0fc9dc4
6 changed files with 56 additions and 13 deletions

View file

@ -248,7 +248,7 @@ public class ActionGameManager : MonoBehaviour
public ItemManager ItemManager { get; private set; }
public Zone Zone { get; private set; }
public static SimClock Clock { get; } = new SimClock(1f / 60f);
public static SimClock Clock { get; } = SimClock.ForGame();
private bool _zoneEntered;
private readonly (float2 direction, string name)[] _directions = {