public AttackManipulatorManager(Map map)
            : base(map, true)
        {
            _attackersPool = new List<Village>();

            UseLegacyXmlWriter = false;

            // Active manipulators
            var mover = new MapMoverManipulator(map, false, false, true);
            var dragger = new MapDraggerManipulator(map, this);
            _attacker = new AttackManipulator(map);

            AddManipulator(_attacker);
            AddManipulator(mover);
            AddManipulator(dragger);
        }
示例#2
0
        public AttackManipulatorManager(Map map)
            : base(map, true)
        {
            _attackersPool = new List <Village>();

            UseLegacyXmlWriter = false;

            // Active manipulators
            var mover   = new MapMoverManipulator(map, false, false, true);
            var dragger = new MapDraggerManipulator(map, this);

            _attacker = new AttackManipulator(map);

            AddManipulator(_attacker);
            AddManipulator(mover);
            AddManipulator(dragger);
        }