refactor: fixing codestyle and improving codequality
This commit is contained in:
@ -5,10 +5,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/** Represents properties of a character in the {@link CharacterConfig} */
|
||||
@JsonPropertyOrder({"characterID", "name", "HP", "MP", "AP", "meleeDamage", "rangeCombatDamage", "rangeCombatReach"})
|
||||
/**
|
||||
* Represents properties of a character in the {@link CharacterConfig}.
|
||||
*/
|
||||
public class CharacterProperties {
|
||||
public int characterID;
|
||||
public String name;
|
||||
|
@ -27,7 +27,7 @@ public class ScenarioConfig {
|
||||
@Override
|
||||
public int hashCode() {
|
||||
int result = Objects.hash(author, name);
|
||||
result = 31 * result + Arrays.hashCode(scenario);
|
||||
result = 31 * result + Arrays.deepHashCode(scenario);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user