#include "state.h"
MessageIn::MessageIn (json msgData) {
if (msgData.contains("action")) {
action = static_cast<Action>(msgData["action"]);
}