feat: created BasicAnswer, and cleaned up some code

This commit is contained in:
Yannik Bretschneider 2021-05-18 14:19:09 +02:00
parent 2d33f150a8
commit 37e84b6e15
3 changed files with 55 additions and 46 deletions

View File

@ -0,0 +1,10 @@
package uulm.teamname.marvelous.gamelibrary.json.basic;
import uulm.teamname.marvelous.gamelibrary.json.MessageType;
/** Basic answer to a message. It contains */
public class BasicAnswer {
String userID;
MessageType messageType;
boolean optionals;
}

View File

@ -1,6 +1,5 @@
package uulm.teamname.marvelous.gamelibrary.json.ingame;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import uulm.teamname.marvelous.gamelibrary.events.Event;
import uulm.teamname.marvelous.gamelibrary.json.MessageType;