Example #1
0
        public void addDifficult()
        {
            TimeEvent pTimeEvent = TimerMan.Find(TimeEvent.Name.SquidAnimation);
            float     currDelta  = pTimeEvent.getDeltaTime();

            pTimeEvent.setDeltaTime(currDelta - 0.15f);

            pTimeEvent = TimerMan.Find(TimeEvent.Name.OctopusAnimation);
            currDelta  = pTimeEvent.getDeltaTime();
            pTimeEvent.setDeltaTime(currDelta - 0.15f);

            pTimeEvent = TimerMan.Find(TimeEvent.Name.CrabAnimation);
            currDelta  = pTimeEvent.getDeltaTime();
            pTimeEvent.setDeltaTime(currDelta - 0.15f);

            this.deltaX++;
        }