Hi guys, I'm getting a bit confused. I started subclassing sprites, the enemy and main character. I put all the code (like spawn code, moving code from using a spritesheet, position, and other stuff) in the subclassed file. Today I wanted to start working on the game, so I imported and @class the sprites. I'm getting confused on how to reuse methods and other things from the sprites. For example, I have a method that spawns a mole sprite. How do I use that method in my Gameplay scene? I also have position on my sprite. How do I set the position without rewriting all the code?
Thanks in advance.