Newer
Older
RxSprout / app / src / main / java / com / example / sprout / battles / Battle.java
KeijuMatsumoto on 28 Nov 2017 669 bytes [add] Project
package com.example.sprout.battles;

import java.util.HashMap;

/**
 * バトル
 *
 * @author matsumoto_k
 */
public class Battle {

    /**
     * バトルの状態に関する変数
     * battle:対戦中, end:終了
     */
    public String state = null;
    public HashMap<Integer, Team> teamMap = new HashMap<Integer, Team>();
    public double time = 300.0;


    public String getState() {
        return state;
    }

    public HashMap<Integer, Team> getTeamMap() {
        return teamMap;
    }

    public void setTeamMap(HashMap<Integer, Team> teamMap) {
        this.teamMap = teamMap;
    }

    public double getTime() {
        return time;
    }
}