Setup for basic Editor for map, started gameplay screen
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
class BaseScreen:
|
||||
|
||||
def __init__(self, game):
|
||||
self.game = game
|
||||
|
||||
self.elements = []
|
||||
|
||||
def process_event(self, event):
|
||||
pass
|
||||
|
||||
def update(self, dt):
|
||||
pass
|
||||
|
||||
def draw(self, surface):
|
||||
pass
|
||||
|
||||
def show(self):
|
||||
for element in self.elements:
|
||||
element.show()
|
||||
|
||||
def hide(self):
|
||||
for element in self.elements:
|
||||
element.hide()
|
||||
Reference in New Issue
Block a user