示例#1
0
        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;
        }
示例#2
0
 public override void Visit(EquipmentInstance equipment)
 {
     Visit(equipment as ItemInstance);
 }