HouraiTeahouse / FantasyCrescendo

A 2.5D Touhou Platform Fighter, By the fans, for the fans.
https://docs.houraiteahouse.net/FantasyCrescendo
GNU General Public License v2.0
105 stars 29 forks source link

Unify character state history management #255

Closed james7132 closed 6 years ago

james7132 commented 6 years ago

Currently all players in the game maintain their own histories which are only sporadically synced with the server. The updates to every user is synchronized at the granularity of a single player, but not on the level of every active player. This will cause issues when we have player-player interactions in the future. A central PlayerStateManager is probably needed to manage the state histories of both local and remote players.

james7132 commented 6 years ago

Done with reimplementation.