forked from wT-/TekkenBot
-
Notifications
You must be signed in to change notification settings - Fork 45
/
GUI_PunisherBot.py
35 lines (25 loc) · 821 Bytes
/
GUI_PunisherBot.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""
A stop gap for testing punisher bot until we get a nicer, unifed bot interface
"""
from tkinter import *
from tkinter.ttk import *
from _TekkenBotLauncher import TekkenBotLauncher
from BotFrameTrap import BotFrameTrap
from BotPunisher import BotPunisher
import sys
class GUI_PunisherBot(Tk):
def __init__(self):
Tk.__init__(self)
self.wm_title("Punisher Bot")
self.geometry(str(720) + 'x' + str(720))
Style().theme_use('alt')
self.launcher = TekkenBotLauncher(BotPunisher, False)
def update_launcher(self):
self.update()
self.after(5, self.update_launcher)
def update(self):
self.launcher.Update()
if __name__ == '__main__':
app = GUI_PunisherBot()
app.update_launcher()
app.mainloop()