Ejemplo n.º 1
0
        public PD_Game(
            long unique_id,
            DateTime start_time,
            DateTime end_time,

            PD_GameSettings game_settings,
            PD_GameFSM game_FSM,
            PD_GameStateCounter game_state_counter,

            List <int> players,
            PD_Map map,

            PD_MapElements map_elements,
            PD_GameCards cards,

            Dictionary <int, int> role__per__player,

            List <PD_Action> playerActionsHistory,
            List <PD_InfectionReport> infectionReports,

            List <PD_Action> currentAvailablePlayerActions,
            List <PD_MacroAction> currentAvailableMacros
            )
        {
            this.unique_id  = unique_id;
            this.start_time = start_time;
            this.end_time   = end_time;

            this.game_settings      = game_settings.GetCustomDeepCopy();
            this.game_FSM           = game_FSM.GetCustomDeepCopy();
            this.game_state_counter = game_state_counter.GetCustomDeepCopy();

            this.players = players.CustomDeepCopy();
            this.map     = map.GetCustomDeepCopy();

            this.map_elements = map_elements.GetCustomDeepCopy();
            this.cards        = cards.GetCustomDeepCopy();

            this.role__per__player = role__per__player.CustomDeepCopy();

            this.PlayerActionsHistory = playerActionsHistory.CustomDeepCopy();
            this.InfectionReports     = infectionReports.CustomDeepCopy();

            this.CurrentAvailablePlayerActions = currentAvailablePlayerActions.CustomDeepCopy();
            this.CurrentAvailableMacros        = currentAvailableMacros.CustomDeepCopy();
        }