What are you trying to do?
# announcements
s
What are you trying to do?
e
i'd like to check something against
Window.Key.X.isPressed
s
I think you’ve got a design issue here - that enum class isn’t going to be a property of an instance of
Window
, and therefore it can’t access the
handle
of a given
Window
instance
wouldn’t it make more sense to have a method like
window.keyIsPressed(Key)
?
ah, my bad, I didn’t see the other thread