/// <summary> /// Check if the entity has anywhere it has to go and set the moving property to true if it does. /// If the entity has reached it's destination hide the entity if the entity type is 'GUEST'. /// </summary> public void Destination_reached() { if (Path.Any()) { Moving = true; panelPb.Visible = true; } else { Path.Clear(); Moving = false; if (EType == ENTITY_TYPE.GUEST || MyNode.MySegment.ID == (int)Building.ID_List.Reception) { MyNode.ColorMe(); panelPb.Visible = false; } } }