/
Shcod
/
java-core-IO_Serialization_ZipStream
Обзор
Документация
Войти
/
Shcod
/
java-core-IO_Serialization_ZipStream
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/main/java/game/GameProgress.java
29 строк
716 B
Shcod
first commit
08 авг 2026, 05:56
08 авг 2026, 05:56
79fe5e1
Код
Авторство
О чём код?
package game; import java.io.Serializable; public class GameProgress implements Serializable { private static final long serialVersionUID = 1L; private int health; private int weapons; private int lvl; private 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 + '}'; } }