Example #1
0
    public void AddInhabitingObject(PlaceableObject obj)
    {
        if (inhabitingObjects.Contains(obj))
        {
            return;
        }
        inhabitingObjects.Add(obj);

        if (state == States.Hidden)
        {
            obj.SetSize(0.01f);
        }
    }
Example #2
0
 public void RemoveInhabitingObject(PlaceableObject obj)
 {
     obj.SetSize(1f);
     inhabitingObjects.Remove(obj);
 }