Hi all,
I have a function called woodenBoardPlay that accepts two inputs.
so the function looks a bit like:
func woodenBoardPlay(direction, message):
In my timer's timeout, I want to call that function like so:
sunkTimer.connect("timeout",self,woodenBoardPlay("down", "youLost"))
It gives this error though:
Invalid type in function 'connect' in base 'Timer'. Cannot convert argument 3 from Nil to String.
How can I pass variables to a function like I'm trying to? I am officially stumped! :-)