Poodletooth-iLand/toontown/speedchat/TTSCCogMenu.py

13 lines
360 B
Python

from otp.speedchat.SCMenu import SCMenu
from otp.speedchat.SCStaticTextTerminal import SCStaticTextTerminal
class TTSCCogMenu(SCMenu):
def __init__(self, indices):
SCMenu.__init__(self)
for index in indices:
term = SCStaticTextTerminal(index)
self.append(term)
def destroy(self):
SCMenu.destroy(self)