Systemy_DialogowePon15-30/model/UserActFrame.py
2021-04-26 13:31:00 +02:00

16 lines
440 B
Python

class UserActFrame:
def __init__(self, act, parameters):
self.act = act
self.parameters = parameters
def __str__(self):
result = ""
result += "Act: " + self.act + " Parameters: { "
for index, parameter in enumerate(self.parameters):
result += parameter
if index < len(self.parameters) - 1:
result += ', '
result += ' }'
return result