Instance of a class not being destroyed with del

前端 未结 0 467
盖世英雄少女心
盖世英雄少女心 2021-01-29 09:07

I\'m trying to delete an object (in this case, and instance of a Fruit class) when it intersects with the head of my snake. The problem is that when it detects a fruit object, <

相关标签:
回答
  • 消灭零回复
提交回复
热议问题