From: Carl Worth Date: Mon, 8 Jun 2020 13:59:43 +0000 (-0700) Subject: Empathy: Add routes to receive prompts and votes on prompts X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=7671bd12ebaa902c287b0730eeda39dae9f418c8;hp=7671bd12ebaa902c287b0730eeda39dae9f418c8;p=empires-server Empathy: Add routes to receive prompts and votes on prompts The received votes are added to the prompt objects themselves, so we don't need to send anything beyond the prompts, and the votes will just ride along "for free". Also, because prompts are a part of the Empathy game's "state" property, they will always be sent as part of the "game-state" event sent when a new client joins, so we don't need any explicit code in the Empathy class to take care of that either. ---