[oden] Time, path searching, game directory
This commit is contained in:
parent
96e95e22ce
commit
26bfcc7a94
8 changed files with 185 additions and 13 deletions
13
src/time.ts
Normal file
13
src/time.ts
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue