mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
20 lines
392 B
Haxe
20 lines
392 B
Haxe
package src;
|
|
|
|
@:publicFields
|
|
class TimeState {
|
|
var timeSinceLoad:Float;
|
|
var currentAttemptTime:Float;
|
|
var gameplayClock:Float;
|
|
var dt:Float;
|
|
|
|
public function new() {}
|
|
|
|
public function clone() {
|
|
var n = new TimeState();
|
|
n.timeSinceLoad = this.timeSinceLoad;
|
|
n.currentAttemptTime = this.currentAttemptTime;
|
|
n.gameplayClock = this.gameplayClock;
|
|
n.dt = this.dt;
|
|
return n;
|
|
}
|
|
}
|