nix dead code

This commit is contained in:
Tangent Wantwight 2020-02-16 00:13:28 -05:00
parent bf26e85b49
commit 2bff1f6cdf

View file

@ -1,24 +1,6 @@
export const INPUT_FREQUENCY = 33; // roughly 30fps
export interface DeepCopy<T> {
deepCopy(patch: Partial<T>): T;
}
export interface Equals {
equals(other: this): boolean;
}
function equals<T extends Equals | string | number>(a: T, b: T): boolean {
if(typeof a === "string"){
return a == b;
}
if(typeof a === "number"){
return a == b;
}
return (a as Equals).equals(b as Equals);
}
export interface LockstepProcessor<Input, State> {
compareInput(a: Input, b: Input): boolean;
cloneState(source: State): State;