Exemplo n.º 1
0
    // Go to Entry table first
    // Then take guest to table


    // First gudie for guest
    // Middle gudie to table with guest
    public void Guidance2Table(GuestGroup _guestGroup, Table emptyTable)
    {
        emptyTable.isUsing = true;
        isBusy             = true;
        //GoToSocketAndUse (StaffM.self.entryTable);
        _guestGroup.TakeTable(emptyTable);
        isBusy = false;
    }
Exemplo n.º 2
0
    public void SitGroup(GuestGroup guestGroup)
    {
        isUsing = true;
        int smallValue = Mathf.Min(chairs.Length, guestGroup.guestList.Count);

        for (int i = 0; i < smallValue; i++)
        {
            chairs [i].Use(guestGroup.guestList [i]);
        }
    }
Exemplo n.º 3
0
    // Called by GuestGroup
    public void AddEntryWaitingGuestGroup(GuestGroup guestGroup)
    {
        cakeslice.OutlineAnimation.self.SetActive(true);

        entryWaitingGuestGroup.Enqueue(new EntryWaitingGuestGroup(guestGroup));
        NoticeM.UseNotice(ScriptM.guestHere, EntryTable.self.transform.position);

        // Call Staff to EntryTable
        StaffM.self.CallStaffForGuidance2Table(new WaitingGuestGroup(guestGroup, RequestType.Table));
    }
Exemplo n.º 4
0
 public WaitingGuestGroup(GuestGroup guestGroup, RequestType requestType)
 {
     this.guestGroup  = guestGroup;
     this.requestType = requestType;
 }
Exemplo n.º 5
0
 protected new void Start()
 {
     base.Start();
     belongGroup = transform.GetComponentInParent <GuestGroup> ();
     state       = GuestState.JoinAndWait;
 }
Exemplo n.º 6
0
 public EntryWaitingGuestGroup(GuestGroup _guestGroup)
 {
     guestGroup = _guestGroup;
 }