untitledcyberbonk2077/enemy.py

9 lines
181 B
Python
Raw Normal View History

2025-01-12 16:19:11 +01:00
class Enemy:
def __init__(self):
self.name = "Dummy"
2025-01-20 21:21:47 +01:00
self.HP = 10
2025-01-12 16:19:11 +01:00
def show_dummy(self):
print(f"Name: {self.name}")
print(f"HP: {self.hp}")