removed unneeded references
This commit is contained in:
parent
0758d8276b
commit
ca9260eb03
|
@ -1,7 +1,5 @@
|
||||||
/// <reference path="./model/GameConfig.ts" />
|
/// <reference path="./model/GameConfig.ts" />
|
||||||
/// <reference path="./model/GameState.ts" />
|
|
||||||
/// <reference path="./render/DebugRenderer.ts" />
|
/// <reference path="./render/DebugRenderer.ts" />
|
||||||
/// <reference path="./render/IRenderer.ts" />
|
|
||||||
|
|
||||||
let globalStartTime: number = 0;
|
let globalStartTime: number = 0;
|
||||||
let globalTimeout: number = null;
|
let globalTimeout: number = null;
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
/// <reference path="./logging/ILogger.ts" />
|
|
||||||
/// <reference path="./resource/IResource.ts" />
|
|
||||||
|
|
||||||
class GameState {
|
class GameState {
|
||||||
private _resources: Record<string, IResource> = { };
|
private _resources: Record<string, IResource> = { };
|
||||||
private _resourceKeys: string[] = [];
|
private _resourceKeys: string[] = [];
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
/// <reference path="./ILogger.ts" />
|
|
||||||
|
|
||||||
class ConsoleLogger implements ILogger {
|
class ConsoleLogger implements ILogger {
|
||||||
public msg (text: string): void {
|
public msg (text: string): void {
|
||||||
console.log(text); // tslint:disable-line
|
console.log(text); // tslint:disable-line
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/// <reference path="./Religion.ts" />
|
/// <reference path="./IResource.ts" />
|
||||||
|
|
||||||
class PlayerOrg implements IResource {
|
class PlayerOrg implements IResource {
|
||||||
public readonly resourceType: ResourceType = ResourceType.Religion;
|
public readonly resourceType: ResourceType = ResourceType.Religion;
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
/// <reference path="../model/GameState.ts" />
|
|
||||||
/// <reference path="../model/logging/ConsoleLogger.ts" />
|
/// <reference path="../model/logging/ConsoleLogger.ts" />
|
||||||
/// <reference path="./IRenderer.ts" />
|
|
||||||
|
|
||||||
class DebugRenderer implements IRenderer {
|
class DebugRenderer implements IRenderer {
|
||||||
private _initialized: boolean = false;
|
private _initialized: boolean = false;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
/// <reference path="../model/GameState.ts" />
|
|
||||||
|
|
||||||
interface IRenderer {
|
interface IRenderer {
|
||||||
render (state: GameState): void;
|
render (state: GameState): void;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue