public FoodLogic(IGameLogic game, ITimeLogic timer, ICollisionLogic collider, IFoodManager foodManager) { _timer = timer; _game = game; _foodManager = foodManager; collider.onCollision += onCollision; }
public SessionManager(ITimeLogic timer, IGameClient clients) { _id = Guid.NewGuid().ToString(); _clients = clients; _timer = timer; DoReset(); }