adventure-game #3
|
@ -1,5 +1,5 @@
|
||||||
import curses
|
import curses
|
||||||
from curses.textpad import Textbox, rectangle
|
from curses.textpad import Textbox
|
||||||
|
|
||||||
|
|
||||||
class AdventureGame:
|
class AdventureGame:
|
||||||
|
@ -70,7 +70,8 @@ class AdventureGame:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def draw_art_window(self, window):
|
def draw_art_window(self, window):
|
||||||
window.addstr(0, 0, "Wip")
|
window.addstr("Wip")
|
||||||
|
window.addstr("Morewip lol")
|
||||||
window.box()
|
window.box()
|
||||||
window.refresh()
|
window.refresh()
|
||||||
|
|
||||||
|
@ -79,7 +80,7 @@ class AdventureGame:
|
||||||
window.refresh()
|
window.refresh()
|
||||||
|
|
||||||
textbox = Textbox(window)
|
textbox = Textbox(window)
|
||||||
return textbox.gather()
|
return textbox.edit()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue