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
private final List
public BattleResponse() {
this.initialPlayerHealth = 0;
this.initialEnemyHealth = 0;
this.enemy = “”;
this.battleItems = new ArrayList<>();
this.rounds = new ArrayList<>();
public BattleResponse(String enemy, List
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
return rounds;
public final List
return battleItems;
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com