實作通用的update方法 在cocos2d 2.x你需要2個步驟去實作在每幀調用update方法: 在cocos2d 3.x 你再也不需要調用scheduleupdate了,你隻需要在ccnode子類中重載以下方法: