13 lines
208 B
Python
13 lines
208 B
Python
![]() |
|
||
|
|
||
|
class Enemy:
|
||
|
|
||
|
def __init__(self):
|
||
|
self.name = "Dummy"
|
||
|
self.hp = 10
|
||
|
self.mp = 0
|
||
|
|
||
|
def show_dummy(self):
|
||
|
print(f"Name: {self.name}")
|
||
|
print(f"HP: {self.hp}")
|