Shakeskeyboarde / neverhaven

ISC License
1 stars 0 forks source link

Keep a copy of the game object graph in the main thread and the worker thread. #8

Open Shakeskeyboarde opened 1 month ago

Shakeskeyboarde commented 1 month ago

Communication to the worker thread is through events, so querying the state of the game across thread boundaries is a little troublesome. Better to have copies in both threads that are synchronized.