public Manager(GameFactory factory) { gameFactory = factory ?? throw new NullReferenceException($"{nameof(GameFactory)}:{nameof(factory)}"); this.Field = factory.CreateField(); this.Movement = factory.CreateMovement(Field); this.timer.Elapsed += Timer_Tick; }