@ WarrenM
Thanks for the clarification, I think I get abstract methods better now. But even without any abstract reference I still get a "compile error" :)
[edit] Actually you guys are right it was that I was abstracting tSprite. Still I wonder why your not allowed to create an instance of an abstract class.
@ Bot Builder
Your right I should have posted what line number the error pointed to. I did however post the error message. But to save anyone the time of reading previous posts the error and location are:
Am I going about this all wrong? Should static and animated sprites be in the same class?
Thanks for your help guys!
Thanks for the clarification, I think I get abstract methods better now. But even without any abstract reference I still get a "compile error" :)
[edit] Actually you guys are right it was that I was abstracting tSprite. Still I wonder why your not allowed to create an instance of an abstract class.
@ Bot Builder
Your right I should have posted what line number the error pointed to. I did however post the error message. But to save anyone the time of reading previous posts the error and location are:
LINE 23< CHAR 3: "Local o:tSprite = New tSprite" Compile Error Unable to create new object of abstract "Type"As for the reason why I wanted to use tSprite as a base class; I wanted to create a tAnimatedSprite class that derived from the tSprite class.
Am I going about this all wrong? Should static and animated sprites be in the same class?
Thanks for your help guys!