Okay. Well on another subject... I was considering extending the TSound type, but once again I think I've got a problem extending stuff.
If I'm not mistaken, I can't have a Play method in my extended type if it has different parameters than the Play method in the TSound type. Why is that again? I can't count the number of times I've wanted to make an extended type but couldn't do it the way I wanted because the function/method names really needed to be the same. Why would I want to use something other than Play to play a sound after all?
What I wanted to do was add volume and rate parameters to play and keep track of the last time a sound was played so that I don't play it too soon over itself which sounds bad.
If I'm not mistaken, I can't have a Play method in my extended type if it has different parameters than the Play method in the TSound type. Why is that again? I can't count the number of times I've wanted to make an extended type but couldn't do it the way I wanted because the function/method names really needed to be the same. Why would I want to use something other than Play to play a sound after all?
What I wanted to do was add volume and rate parameters to play and keep track of the last time a sound was played so that I don't play it too soon over itself which sounds bad.