commit cb4e6dc17228c869da82218481edacf7a5d486c6
parent 9bd581aad4ad9c39930b14d4b04158ac3872e9e6
Author: Erik Letson <hmagellan@hmagellan.com>
Date: Mon, 10 May 2021 19:04:57 -0500
skeletal save and pause work
Diffstat:
1 file changed, 21 insertions(+), 0 deletions(-)
diff --git a/src/base.py b/src/base.py
@@ -147,3 +147,24 @@ class BaseEntity(entity.Entity):
####################################################
# Section 3 - Various Base Mode UI Element Classes #
####################################################
+
+class BasePauseButton(entity.Enttiy):
+ """
+ Parent class for the buttons that appear in
+ the pause menu in base mode.
+ """
+
+ def __init__(self, manager, sheet, sprite = (0, 0), animation = None, animated = None):
+
+ # Parent initialization
+ super().__init__(sheet, sprite, animation, animated)
+
+ # Other values
+ self.manager = manager
+ self.clickable = False
+
+class BasePauseSaveButton(BasePauseButton):
+ pass
+
+class BasePauseLoadButton(BasePauseButton):
+ pass