我的 ViewController.h:
@import UIKit;
@import SpriteKit;
@interface BGGameViewController : UIViewController
@property (nonatomic, weak) IBOutlet SKView *skView;
@property (nonatomic, weak) IBOutlet UIButton *finishGameButton;
@property (nonatomic, weak) IBOutlet UIButton *startNewGameButton;
- (IBAction)finishGame:(id)sender;
- (IBAction)startNewGame:(id)sender;
@end
但我不知道如何调用更新方法。