Skip to content

Instantly share code, notes, and snippets.

@abebemukuru
Last active November 21, 2017 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abebemukuru/f9b3ad362ecc5f5fc3b12b9f337d9acb to your computer and use it in GitHub Desktop.
Save abebemukuru/f9b3ad362ecc5f5fc3b12b9f337d9acb to your computer and use it in GitHub Desktop.
TutorialManager.h
//=======================================================
//チュートリアル管理クラス
//=======================================================
class CTutorialManager {
public:
//コンストラクタ
CTutorialManager(){}
//デストラクタ
~CTutorialManager(){}
//初期化処理
virtual bool init();
//更新処理
virtual void update();
//次の処理
void nextTimes();
/**
*@desc 次の配列へ
*@param タイプ
*/
void nextArrayTimes(int type);
//ファイル情報の置換
void changeFileResource();
protected:
//コマンドリスト
std::vector<std::vector<CCommand*>> m_commandList;
//全体の回数
int TIMES = 0;
//それぞれの回数のリスト
std::vector<int> m_timeList;
//コマンドを出す順番の情報を格納する変数
std::vector<int> m_types;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment