mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2025-12-14 22:09:55 -06:00
Shift key to cycle recipes
This commit is contained in:
@@ -4,10 +4,8 @@ Recipes are combinations of three monsters. When a player fills a recipe they ge
|
||||
|
||||
import arcade
|
||||
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class Recipe(Enum):
|
||||
class Recipe:
|
||||
'''
|
||||
A class of different recipes
|
||||
'''
|
||||
@@ -41,7 +39,6 @@ class ActiveRecipe(arcade.SpriteList):
|
||||
sprite.draw()
|
||||
|
||||
def next_recipe(self):
|
||||
|
||||
self.cycle_recipes[self.pos]()
|
||||
self.pos += 1
|
||||
if self.pos == len(self.cycle_recipes):
|
||||
|
||||
Reference in New Issue
Block a user