You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In KReplaySystem::parseOptions, I propose that we either let the user pass in -ghost followed by a variable number of arguments each being a filepath, or pass in -batch with a directory path. Then we can modify the class as follows:
On second thought, @vabold it might make more sense to have a new batch class
classKBatchReplaySystemfinal : public KReplaySystem
This way, the batch class can observe the return of KReplaySystem::run and then re-init the replay system to a new ghost. We could put the std::queue in KBatchReplaySystem, and when we pop from the queue, we put that ghost as the KReplaySystem's current ghost. I also like this approach because we can redefine parseOptions.
In
KReplaySystem::parseOptions
, I propose that we either let the user pass in-ghost
followed by a variable number of arguments each being a filepath, or pass in-batch
with a directory path. Then we can modify the class as follows:m_currentXXX
, implement astd::queue<GhostMetadata> m_ghosts
such that the current ghost is always the ghost at the front of the queueKReplaySystem::run()
will need to be re-worked.changeScene
or whatever else we need, and start simulating the new ghost.The text was updated successfully, but these errors were encountered: