Exemplo n.º 1
0
    public override void ApplyDevilDeal()
    {
        RotateBackground rotateBackground = FindObjectOfType <RotateBackground>();

        rotateBackground.RotationSpeed *= rotationSpeedMultiplier;

        SinisterFlashes sinisterFlashes = FindObjectOfType <SinisterFlashes>();

        sinisterFlashes.Interval = interval;
        sinisterFlashes.StartDevilDealFlashing();
    }
Exemplo n.º 2
0
    CletusController playerScript;                                              //reference to player's movement script.



    void Awake()
    {
        //set up references

        playerScript = GetComponent <CletusController> ();
        //source = GetComponent<AudioSource>();                 //reference to walkinDude's audioSource Component

        //set initial stats
        //bool isDead;
        //deadWithdrawal = false;
        //deadBloodPoisoning = false;

        //currentVenom = startVenom;
        //currentHP = startTolerance;

        //set timers
        //venomFadeTimer = venomTimerMax;
        //tolTimer = tolTimerMax;
        //blackoutTimer = blackoutFrequencyMax / 2;

        spinBgScript = GameObject.Find("BG").GetComponent <RotateBackground>();
    }
Exemplo n.º 3
0
    public override void ApplyDevilDeal()
    {
        RotateBackground rotateBackground = FindObjectOfType <RotateBackground>();

        rotateBackground.RotationSpeed *= rotationSpeedMultiplier;
    }