private void initialize()
        {
            var          index = 1;
            BattlePlayer player;

            foreach (var item in _configuration.owners)
            {
                _map[item.id] = player = new BattlePlayer();
                _battleEngine.AddComponent(player);
                _players.push(player);
                player.initialize(item, index);
                index++;
            }
            _battleEngine.AddComponent(_npcPlayer);
        }
        public BattleActorsGroup group(ActorsGroup e)
        {
            BattleActorsGroup result;

            if (!_groupMap.TryGetValue(e, out result))
            {
                _groupMap[e] = result = new BattleActorsGroup(e, _battleEngine);
                _list.push(result);
                _battleEngine.AddComponent(result);
            }
            return(result);
        }