corp: classes are types

This commit is contained in:
Snarling
2022-09-20 06:47:54 -04:00
parent 557bc12562
commit bc7c15ad77
23 changed files with 100 additions and 244 deletions

View File

@@ -13,7 +13,7 @@ import { Exploit } from "../../Exploits/Exploit";
import { LocationName } from "../../Locations/data/LocationNames";
import { IPlayerOwnedAugmentation } from "../../Augmentation/PlayerOwnedAugmentation";
import { ICorporation } from "../../Corporation/ICorporation";
import { Corporation } from "../../Corporation/Corporation";
import { IGang } from "../../Gang/IGang";
import { Bladeburner } from "../../Bladeburner/Bladeburner";
import { HacknetNode } from "../../Hacknet/HacknetNode";
@@ -32,7 +32,7 @@ import { Person } from "../Person";
export class PlayerObject extends Person {
// Player-specific properties
bitNodeN = 1; //current bitnode
corporation: ICorporation | null = null;
corporation: Corporation | null = null;
gang: IGang | null = null;
bladeburner: Bladeburner | null = null;
currentServer = "";