ZSolarDev
This function won't run for some reason
I have a function in an object thats a class named Sprite. in another class thats not an object called BaseState, It has a list of Sprites. It goes through the list of Sprites and draws these sprites to the screen, and that works fine. I tried to make a function in the Sprite class called Update, and it's supposed to log a passed argument called elapsedMilliseconds. But for some reason it doesnt log anything. I even changed it to log the text "TEST", but it still doesnt log anything. There aren't any errors, no crashes, no nothing. this is the code for handling Sprites: Here is the Update function:
The list clearly isnt empty bc the one sprite that's there is drawing correctly. Any help?
16 replies