From 12f4af2b5e256842a5a3c8b7fea7f9458e3b011d Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Mon, 2 Jan 2023 16:44:20 -0600 Subject: [PATCH] self margin --- creeper.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/creeper.py b/creeper.py index 30f6a7b..1cd0448 100755 --- a/creeper.py +++ b/creeper.py @@ -172,7 +172,7 @@ class HotBarItem: self.img, (self.scale - self.margin * 2, self.scale - self.margin * 2), ), - (self.pos * self.scale + self.margin, margin), + (self.pos * self.scale + self.margin, self.margin), ) font = pygame.font.SysFont(None, self.scale) qty = str(self.game.game.inventory[self.type]) @@ -188,6 +188,10 @@ class HotBarItem: ) +# class Menu(): +# def __init__(self, game:Game): + + class LightSource: def __init__(self, game: Game, surf, img, center): self.surf = surf