Exemplo n.º 1
0
        // Use this for initialization
        protected override void Start()
        {
            base.Start();

            this.taskInfoController     = new PlaybackTaskInfoEventController(this.trialNumberText, this.timeLeftValText, this.taskMessageText);
            this.scoreController        = new PlaybackScoreEventController(this.scoreText, this.totalText);             // Score
            this.hsrCollisionController = new PlaybackHsrCollisionEventController(this.collisionEffect);                // HSR Collision
            this.panelNoticeController  = new PlaybackPanelNoticeEventController(this, this.mainMenu);                  // Notice of a Panel
        }
        protected override List <string> GetDefinitionLines()
        {
            List <string> definitionLines = base.GetDefinitionLines();

            // Task Info
            definitionLines.Add(PlaybackTaskInfoEventController.GetDefinitionLine(this.teamNameText.text, this.trialNumberText.text, this.timeLeftValText.text, this.taskMessageText.text));

            // Score (Initial status of score)
            definitionLines.Add(PlaybackScoreEventController.GetDefinitionLine(this.totalValText.text));

            return(definitionLines);
        }