编程辅导 package dungeonmania.response.models;

package dungeonmania.response.models;

import java.util.ArrayList;
import java.util.List;

Copyright By PowCoder代写 加微信 powcoder

public final class BattleResponse {
private final String enemy;
private final double initialPlayerHealth;
private final double initialEnemyHealth;
private final List battleItems;
private final List rounds;

public BattleResponse() {
this.initialPlayerHealth = 0;
this.initialEnemyHealth = 0;
this.enemy = “”;
this.battleItems = new ArrayList<>();
this.rounds = new ArrayList<>();

public BattleResponse(String enemy, List rounds, List battleItems,
double initialPlayerHealth, double initialEnemyHealth) {
this.initialPlayerHealth = initialPlayerHealth;
this.initialEnemyHealth = initialEnemyHealth;
this.enemy = enemy;
this.rounds = rounds;
this.battleItems = battleItems;

public final String getEnemy() {
return enemy;

public final double getInitialPlayerHealth() {
return initialPlayerHealth;

public final double getInitialEnemyHealth() {
return initialEnemyHealth;

public final List getRounds() {
return rounds;

public final List getBattleItems() {
return battleItems;

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com