Added TODOs
This commit is contained in:
5
game.py
5
game.py
@ -9,6 +9,11 @@ import NoPELib
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
|
# TODO: Add the ability to re-draw the wheel to hightlight the selected item
|
||||||
|
# TODO: Prevent another animation from starting when the wheel's spinning
|
||||||
|
# TODO: Convery fade in / out time to be random
|
||||||
|
# TODO: Make random finer (to prevent a range of 4-5 only having two possible speeds)
|
||||||
|
|
||||||
def translate(value, aMin, aMax, bMin, bMax):
|
def translate(value, aMin, aMax, bMin, bMax):
|
||||||
"""
|
"""
|
||||||
Translates `value` to go from `aMin`-`aMax` to `bMin`-`bMax`
|
Translates `value` to go from `aMin`-`aMax` to `bMin`-`bMax`
|
||||||
|
|||||||
Reference in New Issue
Block a user