public override void Visit(EquipmentInstance equipment) { //todo: check if equipped/unequipped var characterSymbol = new Symbol("Character", TypeSystem.Instance["CharacterInstance"], equipper.Id); ExecutionVisitor.ExecuteRunBlock(equipment, "Equipped", new List <Symbol>() { characterSymbol }); success = true; }
public override void Visit(EquipmentInstance equipment) { Visit(equipment as ItemInstance); }