コード例 #1
0
    protected override bool Init()
    {
        m_mBossDic   = new Dictionary <BOSS, List <PatternPackage> >();
        m_fPhaseList = new Dictionary <BOSS, float[]>();

        m_cFactory = new Boss2PatternFactory(BOSS.BOSS1);
        m_mBossDic.Add(m_cFactory.m_Boss, m_cFactory.GetPattern());
        m_fPhaseList.Add(m_cFactory.m_Boss, m_cFactory.GetPatternAxis());

        m_cFactory = new Boss3PatternFactory(BOSS.BOSS2);
        m_mBossDic.Add(m_cFactory.m_Boss, m_cFactory.GetPattern());
        m_fPhaseList.Add(m_cFactory.m_Boss, m_cFactory.GetPatternAxis());

        m_cFactory = new Boss5PatternFactory(BOSS.BOSS3);
        m_mBossDic.Add(m_cFactory.m_Boss, m_cFactory.GetPattern());
        m_fPhaseList.Add(m_cFactory.m_Boss, m_cFactory.GetPatternAxis());

        m_cFactory = new Boss6PatternFactory(BOSS.BOSS4);
        m_mBossDic.Add(m_cFactory.m_Boss, m_cFactory.GetPattern());
        m_fPhaseList.Add(m_cFactory.m_Boss, m_cFactory.GetPatternAxis());

        m_cFactory = new Boss7PatternFactory(BOSS.BOSS5);
        m_mBossDic.Add(m_cFactory.m_Boss, m_cFactory.GetPattern());
        m_fPhaseList.Add(m_cFactory.m_Boss, m_cFactory.GetPatternAxis());

        m_cFactory = new Boss8PatternFactory(BOSS.BOSS6);
        m_mBossDic.Add(m_cFactory.m_Boss, m_cFactory.GetPattern());
        m_fPhaseList.Add(m_cFactory.m_Boss, m_cFactory.GetPatternAxis());


        m_cFactory = new Boss9PatternFactory(BOSS.BOSS7);
        m_mBossDic.Add(m_cFactory.m_Boss, m_cFactory.GetPattern());
        m_fPhaseList.Add(m_cFactory.m_Boss, m_cFactory.GetPatternAxis());

        m_cFactory = new PlayerPatternFactory(BOSS.NONE);
        m_mBossDic.Add(m_cFactory.m_Boss, m_cFactory.GetPattern());
        m_fPhaseList.Add(m_cFactory.m_Boss, m_cFactory.GetPatternAxis());

        return(true);
    }