mirror of
https://github.com/csd4ni3l/logical-signals.git
synced 2026-01-01 04:23:46 +01:00
Add zooming (took a long time due to screen to world coordinates), multi input gates for DIY mode
This commit is contained in:
@@ -4,6 +4,14 @@ from utils.constants import menu_background_color
|
||||
|
||||
import pyglet.display
|
||||
|
||||
def multi_gate(values, func):
|
||||
value = values[0]
|
||||
|
||||
for new_value in values[1:]:
|
||||
value = func(value, new_value)
|
||||
|
||||
return value
|
||||
|
||||
def generate_task_text(level):
|
||||
text = "Task: You need to use "
|
||||
|
||||
|
||||
Reference in New Issue
Block a user