public TtcSimulation(List <int> dustFrames = null) { //set up objects _rng = new TtcRng(Config.Stream.GetUInt16(MiscConfig.RngAddress)); _rngObjects = TtcUtilities.CreateRngObjectsFromGame(_rng, dustFrames); //set up testing variables _startingFrame = MupenUtilities.GetFrameCount(); //the frame directly preceding any object initialization }
public TtcSaveState() : this( Config.Stream.GetUInt16(MiscConfig.RngAddress), TtcUtilities.CreateRngObjectsFromGame(new TtcRng(Config.Stream.GetUInt16(MiscConfig.RngAddress)))) { }