2024-12-09 19:29:11 +01:00
|
|
|
from jednostka import Jednostka
|
|
|
|
|
|
|
|
|
|
|
|
class Rycerz(Jednostka):
|
2024-12-11 16:21:28 +01:00
|
|
|
def __init__(self, imie):
|
|
|
|
super().__init__(100, 20, 1, 1, imie)
|
|
|
|
self.nazwa = 'Rycerz'
|
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):
|
|
|
|
super().wyswietl_stan()
|