fix: fix formatting

This commit is contained in:
punchready 2021-05-02 00:19:01 +02:00
parent c8de7e25c8
commit 21fccee0df
2 changed files with 10 additions and 15 deletions

View File

@ -45,7 +45,6 @@ public class EntityID {
return "["+type.toString()+":"+id+"]";
}
@Override
public boolean equals(Object o) {
if (this == o) return true;

View File

@ -8,13 +8,10 @@ import uulm.teamname.marvelous.gamelibrary.entities.StoneType;
import java.util.HashMap;
/**
* A class made for building all sorts of {@link Event}s as nicely as possible. It works by taking
* .with[KEY]() functions and then building a specific event at the end
* A class made for building all sorts of {@link Event}s as nicely as possible.
* It works by taking .with[KEY]() functions and then building a specific event at the end.
*/
public class EventBuilder {
// variable definitions (as in all possible keys)
/** The type of event that is being built */
private EventType type;
// Keys used primarily in EntityEvents, but also in others
@ -38,7 +35,7 @@ public class EventBuilder {
private String message;
private int timeLeft;
// Keys used primarily in GamestateEvents
// Keys used primarily in GameStateEvents
private Entity[] entities;
private EntityID[] turnOrder;
private EntityID activeCharacter;
@ -49,14 +46,13 @@ public class EventBuilder {
private HashMap<String, Object> customContent;
/**
* Creates an empty {@link EventBuilder} used for building {@link Event}s
* Creates a new {@link EventBuilder} used for building {@link Event}s
*/
public EventBuilder () {
}
// With <something> for builder pattern style things
// with<something> for builder pattern style things
public EventBuilder withType(EventType type) {
this.type = type;