aboutsummaryrefslogtreecommitdiff
path: root/src/controllers/KeyController.ts
blob: 96e41eded37ceff15e8de5aab0031d5272ce4df8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { FieldController } from "./FieldController"

export class KeyController extends FieldController {
    get Name():string {
        return this.name;
    }

    constructor(private name:string){
        super();
    }

    TrySetValue(value: any): boolean {
        throw new Error("Method not implemented.");
    }

    GetValue() {
        return this.Name;
    }

    Copy(): FieldController {
        return this;
    }


}