public void Unpack(BinaryReader reader) { ChanceOfOccur = reader.ReadSingle(); DayName = reader.ReadPString(); reader.AlignBoundary(); SkyObjects.Unpack(reader); SkyTime.Unpack(reader); }
public void Draw(RenderTarget target, RenderStates states) => SkyObjects.ForEach(skyObject => skyObject.Draw(target, states));