add SKAction to Sprite queue run one after another
问题 I listen to touch and add SKAction to a sprite. If existing actions are not complete yet, I want the action to be added to a queue so it will execute one after another. Any experienced similar design? I did using Array and Block. If there is any easier approach? @interface GAPMyScene() @property(strong,nonatomic)SKSpriteNode*ufo; @property(strong,nonatomic)NSMutableArray*animationQueue; @property(copy,nonatomic)void(^completeMove)(); @end @implementation GAPMyScene -(id)initWithSize:(CGSize