[oden] Time, path searching, game directory

This commit is contained in:
John Doty 2023-06-30 16:24:54 -07:00
parent 96e95e22ce
commit 26bfcc7a94
8 changed files with 185 additions and 13 deletions

13
src/time.ts Normal file
View file

@ -0,0 +1,13 @@
import * as time from "time-core";
/**
* Get the time elasped since the start of the program.
* @returns The time since the start of the program, in fractional seconds.
*/
export const since_start = time.since_start;
/**
* Get the time elasped since the last frame.
* @returns The time since the last frame, in fractional seconds.
*/
export const since_last_frame = time.since_last_frame;