public GameLogic(StartCoroutineDelegate startCoroutine, CreateBallDelegate createBall, PlayerScoresLogic playerScoresLogic, PlayerScoresPresentation playerScoresPresentation, GameData gameData) { this.startCoroutine = startCoroutine; this.createBall = createBall; this.playerScoresLogic = playerScoresLogic; this.playerScoresPresentation = playerScoresPresentation; this.gameData = gameData; startCoroutine(GameFlow()); }
public UberLoggerStackdriver(StartCoroutineDelegate startCoroutine, string backendUrl, int maxMessagesPerPost, float minIntervalBetweenPosts, LogSeverityLevel logSeverityLevel, IncludeCallstackMode includeCallstacks, int maxRetries, string sessionId) { this.startCoroutine = startCoroutine; this.backendUrl = backendUrl; this.maxMessagesPerPost = maxMessagesPerPost; this.minIntervalBetweenPosts = minIntervalBetweenPosts; this.logSeverityLevel = logSeverityLevel; this.includeCallstacks = includeCallstacks; this.maxRetries = maxRetries; this.sessionId = sessionId; stackdriverEntries = new StackdriverEntries(sessionId); stackdriverEntriesInFlight = new StackdriverEntries(sessionId); Assert.IsNotNull(this.backendUrl, "You must supply a target URL for the UberLoggerStackdriver backend API. UberLoggerStackdriver will be inactive."); }