16 lines
440 B
Python
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
|