Newer
Older
IrisClientWebSocket / app / src / main / java / org / ntlab / irisclient / Iris.java
Kota on 8 Dec 2022 1 KB first commit
package org.ntlab.irisclient;

import android.app.Application;
import org.ntlab.irisclient.entities.RoomJson;
import org.ntlab.irisclient.models.Member;

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


public class Iris extends Application {
    private String rid;
    private String nickname;
    private String team; //Memberクラスにおけるbelongs (r:赤チーム b:青チーム n:無所属)
    private boolean bMaster;
    private List<Member> memberList = new ArrayList<>();

    //----------------------------------------------------------
    // getter
    public String getRid() {
        return this.rid;
    }

    public String getNickname() {
        return this.nickname;
    }

    public String getTeam() { return this.team; }

    public boolean isMaster() { return this.bMaster; }

    public List<Member> getMemberList() { return this.memberList; }

    //----------------------------------------------------------
    // setter
    public void setRid(String rid) {
        this.rid = rid;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setTeam(String team) { this.team = team; }

    public void setMaster(boolean master) { bMaster = master; }

    public void setMemberList(List<Member> memberList) { this.memberList = memberList; }

}