Exemple #1
0
    public void Init()
    {
        dead         = false;
        start_pos    = transform.position;
        lastAttack   = Time.time;
        noteCount    = 0;
        _baseLife    = life;
        _baseStamina = stamina;
        _baseSpecial = special;

        if (Game.Data.ACCESSIBILITY_MODE)
        {
            stamina *= 3.0f;
        }

        gain = 1.0f;
        if (Game.Data.ACCESSIBILITY_MODE)
        {
            gain = 6.0f;
        }

        lastCheckpointPos       = start_pos;
        lastCheckpointMusicTime = audio_process.GetMusicCurrentTime();
        jinjos = new List <Jinjo>(6);
    }