7. 標準で用意されてるコマンド ● タップ、スワイプ ○ touch tap 100 100 ● シーングラフ描画 ○ scenegraph ● ゲーム全体の一時停止、再開 ○ director pause などなど 8. コマンドの拡張も ● 例えば ○ スクリーンショットの撮影 auto name = "ss"; auto help = "take screen shot"; auto callback = [](int fd, const string& args) { utils::captureScreen([fd](bool succeed, const string &outputFile) { send(fd, outputFile.c_str(), outputFile.size(), 0); }, "ss.png"); }; Director::getInstance
