projekt_gra_turowa/piechur.py

14 lines
255 B
Python
Raw Normal View History

2024-12-09 19:29:11 +01:00
from jednostka import Jednostka
class Piechur(Jednostka):
def __init__(self):
2024-12-11 15:00:42 +01:00
super().__init__(80, 15, 1, 1.5)
2024-12-09 19:29:11 +01:00
def __str__(self):
return 'P'
2024-12-09 19:59:28 +01:00
def wyswietl_stan(self):
print('Piechur')
super().wyswietl_stan()