public override void Update(float deltaTime) { if (!initialized) { foreach (var table in Tables) { Seats.AddRange(table.Seats); } Seats.AddRange(Queue.Seats); // Add seats and tables to world foreach (var table in Tables) { Room.Models.Add(table); } foreach (var seat in Seats) { Room.Models.Add(seat); } initialized = true; } }
public void AddSeats(AdjacentSeats adjacentSeats) { Seats.AddRange(adjacentSeats.Take(PartyRequested.PartySize)); }
public void AddSeats(AdjacentSeats adjacentSeats) { Seats.AddRange(adjacentSeats); }