public class God { private String name; // 神名 private String title; // 尊称 private int rank; // 阶位 private String power; // 权能 private String introduction; // 个人介绍

public God(String name, String title, int rank, String power, String introduction) {
    this.name = name;
    this.title = title;
    this.rank = rank;
    this.power = power;
    this.introduction = introduction;
}

public String getName() {
    return name;
}

public String getTitle() {
    return title;
}

public int getRank() {
    return rank;
}

public String getPower() {
    return power;
}

public String getIntroduction() {
    return introduction;
}

public void setName(String name) {
    this.name = name;
}

public void setTitle(String title) {
    this.title = title;
}

public void setRank(int rank) {
    this.rank = rank;
}

public void setPower(String power) {
    this.power = power;
}

public void setIntroduction(String introduction) {
    this.introduction = introduction;
}

public static void main(String[] args) {
    God god1 = new God("艾米莉娅", "无限梦境", 10000, "梦境控制", "无限的梦境世界,可以掌控一切");
    God god2 = new God("亚莉安罗德", "天翼", 4000, "飞行", "可以自由地在天空中飞翔");
    God god3 = new God("克鲁赛德", "万象之王", 1000, "万象掌控", "可以掌控一切万物的力量");
    God god4 = new God("希耶尔", "全能领域", 500, "全能力量", "可以掌控一切领域的力量");
    God god5 = new God("黑", "全权领域", 50, "全权力量", "可以掌控一切权力的力量");
}

}


原文地址: https://www.cveoy.top/t/topic/bk9Y 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录