diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-01-15 22:31:57 -0500 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-01-15 22:31:57 -0500 |
commit | 89204d74d2a5014b4e241973b1bdb8461ed4f78c (patch) | |
tree | 4bf58acfdad603375953b2de3610dc946e569b71 /src/controllers/KeyController.ts | |
parent | 3de39e2608e62a278b9c8cc37b53333f0877fa59 (diff) |
More stuff set up
Diffstat (limited to 'src/controllers/KeyController.ts')
-rw-r--r-- | src/controllers/KeyController.ts | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/controllers/KeyController.ts b/src/controllers/KeyController.ts deleted file mode 100644 index 68eed3961..000000000 --- a/src/controllers/KeyController.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { FieldController } from "./FieldController" -import { Utils } from "../Utils"; - -export class KeyController extends FieldController { - get Name():string { - return this.name; - } - - constructor(private name:string){ - super(Utils.GenerateDeterministicGuid(name)); - } - - TrySetValue(value: any): boolean { - throw new Error("Method not implemented."); - } - - GetValue() { - return this.Name; - } - - Copy(): FieldController { - return this; - } - - -} - -export namespace KeyStore { - export let Prototype = new KeyController("Prototype"); - export let X = new KeyController("Y"); - export let Y = new KeyController("Y"); - export let Width = new KeyController("Width"); - export let Height = new KeyController("Height"); - export let Data = new KeyController("Data"); - export let View = new KeyController("View"); -}
\ No newline at end of file |