Add method returning description of DT interactable

This commit is contained in:
Michał Czekański 2020-05-24 15:46:25 +02:00
parent 80946a4246
commit 45345cabd8

View File

@ -39,3 +39,7 @@ class DTSurvivalInteractable:
return None return None
return DTSurvivalInteractable(distanceFromPlayer, classification, interactable) return DTSurvivalInteractable(distanceFromPlayer, classification, interactable)
def getDescription(self):
dsc = "Classification: {}, Distance from player: {}".format(self.classification, self.distanceFromPlayer)
return dsc