2024-12-09 19:29:11 +01:00
|
|
|
from jednostka import Jednostka
|
|
|
|
|
|
|
|
|
|
|
|
class Rycerz(Jednostka):
|
|
|
|
def __init__(self):
|
2024-12-11 15:00:42 +01:00
|
|
|
super().__init__(100, 20, 1, 1)
|
2024-12-09 19:29:11 +01:00
|
|
|
|
|
|
|
def __str__(self):
|
|
|
|
return 'R'
|
2024-12-09 19:59:28 +01:00
|
|
|
|
|
|
|
def wyswietl_stan(self):
|
|
|
|
print('Rycerz')
|
|
|
|
super().wyswietl_stan()
|