예제 #1
0
        public GameTimer(float callTime, OnTimerCallHandler handler)
        {
            this.callTime = Math.Max(0, callTime);

            this.handler = handler;

            sTimers.Add(this);
        }
예제 #2
0
        public GameTimer ( float callTime, OnTimerCallHandler handler )
        {
            this.callTime = Math.Max( 0, callTime );

            this.handler = handler;

            sTimers.Add( this );
        }