remove unused stuff. add player energy

This commit is contained in:
Matteo Rosati
2026-02-11 18:03:54 +01:00
parent 6acc708f46
commit 24a26bd092
5 changed files with 16 additions and 146 deletions

View File

@@ -1,6 +1,16 @@
from django.conf import settings
from django.db import models
class Building(models.Model):
geojson_id = models.IntegerField()
health = models.FloatField()
class PlayerInfo(models.Model):
user = models.OneToOneField(
settings.AUTH_USER_MODEL,
on_delete=models.CASCADE,
related_name="player_info",
)
energy = models.PositiveIntegerField()