Example #1
0
 public void TryInteract(BasicCharacter character)
 {
     if (CanInteract)
     {
         CanInteract = false;
         GetParent().RemoveChild(this);
         character.GetCarryAttachPoint().AddChild(this);
         SetPosition(new Vector2());
     }
 }