Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag
Created April 27, 2020 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BMU-Verlag/1ded9030a7e7ed50c58173ec9b3b6beb to your computer and use it in GitHub Desktop.
Save BMU-Verlag/1ded9030a7e7ed50c58173ec9b3b6beb to your computer and use it in GitHub Desktop.
class Ort:
def __init__(self, beschreibung, anweisung, ausgang, gegenstand, notwendig):
self.__Beschreibung = beschreibung
self.__Anweisung = anweisung
self.__Ausgang = ausgang
self.__Gegenstand = gegenstand
self.__Notwendig = notwendig
def getBeschreibung(self):
return self.__Beschreibung
def getAnweisung(self):
return self.__Anweisung
def getNotwendig(self):
return self.__Notwendig
def getGegenstand(self):
return self.__Gegenstand
def getAusgang(self):
return self.__Ausgang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment