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