/// <summary> /// Creates a new PhysicsWatch from a certain amount of time, starts it, and returns the current instance /// </summary> /// <param name="seconds">Time to start the watch at, in seconds</param> public static PhysicsWatch StartNewFromTime(double seconds) { PhysicsWatch watch = new PhysicsWatch(seconds); watch.Start(); return(watch); }
/// <summary> /// Creates a new PhysicsWatch, starts it, and returns the current instance /// </summary> public static PhysicsWatch StartNew() { PhysicsWatch watch = new PhysicsWatch(); watch.Start(); return(watch); }
/// <summary> /// Creates a new PhysicsWatch from a certain amount of time, starts it, and returns the current instance /// </summary> /// <param name="seconds">Time to start the watch at, in seconds</param> public static PhysicsWatch StartNewFromTime(double seconds) { PhysicsWatch watch = new PhysicsWatch(seconds); watch.Start(); return watch; }
/// <summary> /// Creates a new PhysicsWatch, starts it, and returns the current instance /// </summary> public static PhysicsWatch StartNew() { PhysicsWatch watch = new PhysicsWatch(); watch.Start(); return watch; }