SystemyDialogowe/UserAct.py
2021-04-26 15:13:52 +02:00

9 lines
401 B
Python

from UserActType import UserActType
from ActFrame import ActFrame
class UserAct(ActFrame):
def __init__(self, actType, actParams = None):
if actType != None and type(actType) is not UserActType:
raise Exception('actParams has wrong type: expected type {}, got {}'.format(type(UserActType.WELCOME_MSG), type(actType)))
super(UserAct, self).__init__(actType, actParams)