Example #1
0
        public CourtGuest CreateCourtGuest(ReporterType type)
        {
            CourtGuest tmp = new CourtGuest();

            tmp.reporterType = type;
            return(tmp);
        }
Example #2
0
        public void SpawnCourtGuest(ReporterType guestType)
        {
            if (currentCourtGuest != null)
            {
                CourtGuest newGuest = CreateCourtGuest(guestType);

                if (queuedGuestList == null)
                {
                    queuedGuestList = new List <CourtGuest>();
                }
                queuedGuestList.Add(newGuest);
            }
            else
            {
                currentCourtGuest = CreateCourtGuest(guestType);
            }

            InstantiateCourtGuest(currentCourtGuest.reporterType);
        }