public void AddInhabitingObject(PlaceableObject obj) { if (inhabitingObjects.Contains(obj)) { return; } inhabitingObjects.Add(obj); if (state == States.Hidden) { obj.SetSize(0.01f); } }
public void RemoveInhabitingObject(PlaceableObject obj) { obj.SetSize(1f); inhabitingObjects.Remove(obj); }