I have a text file that follows:
Run
Jump
Jump
Swim
Run
And I have 3 methods, run, jump and swim, how do I run those functions when each of those lines gets read, so it would run "Run" first and that would run the run function then it would run the "Jump" function twice ect, ive been stuck for 2 days and thought a hint would be much appreciated, thanks! ^-^