public void WriteToStream(Stream s)
        {
            SerializationWriter sw = new SerializationWriter(s);

            sw.Write((ushort)ReplayFrames.Count);
            foreach (bReplayFrame f in ReplayFrames)
            {
                f.WriteToStream(s);
            }

            sw.Write((byte)Action);

            ScoreFrame.WriteToStream(s);
        }