From 70df24894d1cb0f2897442c64a3b7e460ed6ff78 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Tue, 30 Jan 2024 09:08:20 +0200 Subject: Adding level-info on statusline. --- app.py | 1 + 1 file changed, 1 insertion(+) (limited to 'app.py') diff --git a/app.py b/app.py index a9cee19..8394f68 100644 --- a/app.py +++ b/app.py @@ -29,6 +29,7 @@ class App: tui_opts['height'] = LevelSpecs[board_opts['level']][1] self.board = Board(**board_opts) + tui_opts['level_name']=self.board.get_level_name() self.ui = Tui(**tui_opts) self.game = Game(self.board,self.ui) -- cgit v1.2.3