ArsThaumaturgis/Panda3DTutorial.io

Lesson 5 - No need to import Task

Closed this issue · 3 comments

cont (and related members) are available on all Task instances, including the one passed in to update(). In other words, task.cont can be used instead of Task.cont, which avoids the need to import Task from direct.task.

Ah, I see--thank you for that; I wasn't aware that the return values were so available!

I'll fix that then, I intend.

Done, I believe, with the following commit:
ce92963

Do you see any issues with the changes made there?

The changes look good to me, thanks!