bug两条 #183
Unanswered
VansamaZWT
asked this question in
Q&A
bug两条
#183
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
请补充一些信息:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
遇到了我无法解决的两个bug,我简单描述一下下面的代码,主要作用就是实现遍历存放所有敌人的链表(all_enemies)(在下面的代码中为了便于测试我只检查了链表头部),通过检查敌人的所在格子指针(position)是否与重点指针相等来判断是否将成员数据lose设为true。我不理解上下代码只相差一个this,为何上方可运行下方则不可,恳请大佬帮助

Beta Was this translation helpful? Give feedback.
All reactions