我目前正在制作一款将有多种类型敌人的游戏,我目前使用SKSpriteNode的一个子类创建了基本的敌人,一切都很正常。我现在想实现基本敌人的另一个子类,因为所有的敌人都是相似的。我在创建新的子类时遇到了问题。任何帮助都将不胜感激。这是我的代码。 var ship_speed : Double = 7.0 v
button, I **save** it to make sure it was a non-temperory UID, read its UID and store it in a varible (SubclassingWhen I create the button I store 4-5 variables (Subclassing `UIButton`) that will allow a predicate to