Convert GameCommand to an enum class and move it to a separate header.