コード例 #1
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);
        }
コード例 #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);
        }