Esempio n. 1
0
    public BMSSectionManager(BMSPlayer compBMSPlayer)
    {
        m_compBMSPlayer = compBMSPlayer;

        m_dicSection = new Dictionary <int, BMSSection>();

        m_nSectionCursor = 0;

        m_fSectionHeightTotal = 0.0f;

        AddSection(0);
    }
Esempio n. 2
0
    public void Init(BMSPlayer compBMSPlayer, string sPath)
    {
        m_compBMSPlayer = compBMSPlayer;

        m_sFilePath = sPath;

        m_sFolderPath = Path.GetDirectoryName(m_sFilePath);
        m_sFileName   = Path.GetFileName(m_sFilePath);
        m_sFolderName = Path.GetFileName(m_sFolderPath);

        m_cBMSInfo = new BMSInfo();
    }
Esempio n. 3
0
    public void Init(BMSPlayer compBMSPlayer, int nNoteKey, float fPosZ)
    {
        m_compBMSPlayer = compBMSPlayer;

        m_eEventChannel = E_EVENT_CHANNEL.E_CHANNEL_NONE;
        m_eNoteType     = E_NOTE_TYPE.NORMAL;

        m_objLongBody           = null;
        m_compRendererLongBody  = null;
        m_fLongBodyInitialScale = 1.0f;

        m_bIsShow            = false;
        m_bActive            = true;
        m_bIsKilled          = false;
        m_bSong              = false;
        m_bIsPlayArea        = false;
        m_bIsPassedJudgeLine = false;

        m_sIndex    = null;
        m_nKeyIndex = 0;
        m_nNoteKey  = nNoteKey;
        m_nSoundNum = 0;

        m_fBpm        = 0.0f;
        m_fStop       = 0.0f;
        m_fCanselTime = 0.0f;
        m_fDestTime   = 0.0f;

        m_dBarperSecond = 0.0f;
        m_dBarDownTime  = 0.0f;

        m_texBGA = null;

        m_vPos             = new Vector3(m_compBMSPlayer.NOTE_POSITIONX[m_nNoteKey], 0.0f, (float)fPosZ);
        transform.position = new Vector3(m_compBMSPlayer.NOTE_POSITIONX[m_nNoteKey], 0.0f, (float)fPosZ);

        if (m_bIsSeperator == false)
        {
            m_compRenderer         = GetComponent <SpriteRenderer>();
            m_compRenderer.enabled = false;
        }
    }
Esempio n. 4
0
    public BMSSection(BMSPlayer compBMSPlayer)
    {
        m_compBMSPlayer = compBMSPlayer;

        m_listKey = new List <BMSKey>();
    }