14 lines
252 B
Python
14 lines
252 B
Python
from jednostka import Jednostka
|
|
|
|
|
|
class Rycerz(Jednostka):
|
|
def __init__(self):
|
|
super().__init__(100, 20, 1, 1)
|
|
|
|
def __str__(self):
|
|
return 'R'
|
|
|
|
def wyswietl_stan(self):
|
|
print('Rycerz')
|
|
super().wyswietl_stan()
|