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