BBGamelib.FloatUtils.EB C# (CSharp) Method

EB() public static method

public static EB ( float a, float b ) : bool
a float
b float
return bool
		public static bool EB(float a, float b){
			bool equal = EQ (a, b);
			if (equal)
				return true;
			else
				return a > b;
		}
		public static bool EQ(float a, float b){

Usage Example

        /**
         * repeat will execute the action repeat + 1 times, for a continues action use kCCRepeatForever
         * delay is the amount of time the action will wait before execution
         */
        public void schedule(TICK_IMP selector, float interval = 0, uint repeat = CCScheduler.kCCRepeatForever, float delay = 0)
        {
            NSUtils.Assert(selector != null, "Argument must be non-nil");
            NSUtils.Assert(FloatUtils.EB(interval, 0), "Arguemnt must be positive");


            _scheduler.schedule(selector, this, interval, repeat, !_isRunning, delay);
        }
All Usage Examples Of BBGamelib.FloatUtils::EB