Exemple #1
0
        public void Unpack(BinaryReader reader)
        {
            ChanceOfOccur = reader.ReadSingle();
            DayName       = reader.ReadPString();
            reader.AlignBoundary();

            SkyObjects.Unpack(reader);
            SkyTime.Unpack(reader);
        }
Exemple #2
0
 public void Draw(RenderTarget target, RenderStates states) =>
 SkyObjects.ForEach(skyObject => skyObject.Draw(target, states));