public UnitTimeVector ProcessGame(ScGame game)
        {
            UnitTimeVector v = new UnitTimeVector();
            v.Race = game.Race;
            v.Replay = game.ReplayFile;

            IniVector(v.Vector, game.Race);

            foreach (ScEvent scEvent in game.Events)
            {
                if (v.Vector[scEvent.Unit] > scEvent.Time)
                    v.Vector[scEvent.Unit] = scEvent.Time;
            }

            return v;
        }
        private void WriteGameToCsv(UnitTimeVector game, int gameId, StreamWriter sw)
        {
            sw.Write(gameId + SEPERATION_SYMBOL + game.Replay + SEPERATION_SYMBOL);

            int counter = 0;
            foreach (KeyValuePair<string, int> unit in game.Vector)
            {
                if (unit.Value == int.MaxValue)
                    sw.Write(-1);
                else
                    sw.Write(unit.Value);
                if (counter != game.Vector.Count - 1)
                    sw.Write(SEPERATION_SYMBOL);
                counter++;
            }

            sw.WriteLine("");
        }