/
geriot
/
load
Обзор
Документация
Войти
/
geriot
/
load
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
GameProgress.java
32 строки
810 B
geriot
upload files
07 май 2025, 11:14
07 май 2025, 11:14
08044fd
Код
Авторство
О чём код?
import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; 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 + '}'; } }