Add centering back into edit/practice mode playback.

This commit is contained in:
Brandon W
2024-09-30 17:20:11 -07:00
committed by teejusb
parent bcd7e8e1d2
commit 7b2f0338b8
4 changed files with 34 additions and 2 deletions
+4 -1
View File
@@ -16,7 +16,6 @@
class EditModePlayerManager
{
public:
// Adds players based on the current gamestate.
void AddPlayers(const NoteData& note_data);
@@ -43,7 +42,11 @@ public:
// Play assist ticks.
void PlayTicks(GameplayAssist& gameplay_assist);
// Sets the "center" boolean, for centering the notefield.
void SetCenter(bool center) { center_ = center; }
private:
// All players that the manager is looking at. Indexable by PlayerNumber.
std::unordered_map<PlayerNumber, std::shared_ptr<PlayerPlus>> players_;
bool center_;
};