/
siman_coder
/
TaskMake
Обзор
Документация
Войти
/
siman_coder
/
TaskMake
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
GameProgress.java
27 строк
726 B
siman_coder
Create: GameProgress.java, Main.java
26 июн 2026, 11:22
Верифицирован
26 июн 2026, 11:22
ccfa001
Код
Авторство
О чём код?
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 + '}'; } }