/
xtasy
/
files.task2
Обзор
Документация
Войти
/
xtasy
/
files.task2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
src/GameProgress.java
27 строк
724 B
xtasy
initial commit
21 май 2026, 00:58
21 май 2026, 00:58
5f47abb
Код
Авторство
О чём код?
import java.io.Serializable; public class GameProgress implements Serializable { private static final long serialVersionUID = 1L; private final int health; private final int weapons; private final int lvl; private final double distance; public GameProgress(int health, int weapons, int lvl, double distance) { this.health = health; this.weapons = weapons; this.lvl = lvl; this.distance = distance; } @Override public String toString() { return "GameProgress{" + "health=" + health + ", weapons=" + weapons + ", lvl=" + lvl + ", distance=" + distance + '}'; } }