class Actor:
CMD_BUZZ = 0
- CMD_OPEN = 1
- CMD_CLOSE = 2
+ CMD_UNLOCK = 1
+ CMD_LOCK = 2
CMDs = {
CMD_BUZZ: ("buzz", 12, [(True, 0.3), (False, 2.0)]),
- CMD_OPEN: ("open", 16, [(None, 0.2), (True, 0.3), (False, 1.0)]),
- CMD_CLOSE: ("close", 22, [(None, 0.2), (True, 0.3), (False, 1.0)]),
+ CMD_UNLOCK: ("unlock", 16, [(None, 0.2), (True, 0.3), (False, 1.0)]),
+ CMD_LOCK: ("lock", 22, [(None, 0.2), (True, 0.3), (False, 1.0)]),
}
def __init__(self):