refactor: changed AssignmentEnum's name to ParticipantType

This commit is contained in:
2021-06-03 23:38:43 +02:00
parent d4e0ed23bc
commit 78d3fb84d0
5 changed files with 8 additions and 12 deletions

View File

@ -1,6 +1,6 @@
package uulm.teamname.marvelous.gamelibrary.messages;
public enum AssignmentEnum {
public enum ParticipantType {
PlayerOne,
PlayerTwo,
Spectator

View File

@ -6,7 +6,7 @@ import uulm.teamname.marvelous.gamelibrary.config.CharacterConfig;
import uulm.teamname.marvelous.gamelibrary.config.CharacterProperties;
import uulm.teamname.marvelous.gamelibrary.config.PartyConfig;
import uulm.teamname.marvelous.gamelibrary.config.ScenarioConfig;
import uulm.teamname.marvelous.gamelibrary.messages.AssignmentEnum;
import uulm.teamname.marvelous.gamelibrary.messages.ParticipantType;
import uulm.teamname.marvelous.gamelibrary.messages.BasicMessage;
import uulm.teamname.marvelous.gamelibrary.messages.MessageType;
@ -28,7 +28,7 @@ public class GameStructureMessage extends BasicMessage {
public final MessageType messageType = MessageType.GAME_STRUCTURE;
/** The role the client has been assigned to */
public AssignmentEnum assignment;
public ParticipantType assignment;
/** The name of the first player */
public String playerOneName;