Make the main player object an alias, makes it easier to import

This commit is contained in:
Olivier Gagnon
2022-10-09 18:42:14 -04:00
parent 3c03ac4f18
commit cbb7f58231
197 changed files with 225 additions and 222 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import { Tooltip } from "@mui/material";
import LockIcon from "@mui/icons-material/Lock";
import LockOpenIcon from "@mui/icons-material/LockOpen";
import { Player } from "../../Player";
import { Player } from "@player";
import { achievements } from "../../Achievements/Achievements";
import { Engine } from "../../engine";
+1 -1
View File
@@ -12,7 +12,7 @@ import {
} from "@mui/material";
import React, { useState } from "react";
import { AugmentationNames } from "../../Augmentation/data/AugmentationNames";
import { Player } from "../../Player";
import { Player } from "@player";
export function Augmentations(): React.ReactElement {
const [augmentation, setAugmentation] = useState("Augmented Targeting I");
+1 -1
View File
@@ -7,7 +7,7 @@ import AccordionDetails from "@mui/material/AccordionDetails";
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import { Adjuster } from "./Adjuster";
import { Player } from "../../Player";
import { Player } from "@player";
const bigNumber = 1e27;
+1 -1
View File
@@ -8,7 +8,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import Typography from "@mui/material/Typography";
import Button from "@mui/material/Button";
import { Adjuster } from "./Adjuster";
import { Player } from "../../Player";
import { Player } from "@player";
const bigNumber = 1e27;
+1 -1
View File
@@ -6,7 +6,7 @@ import AccordionDetails from "@mui/material/AccordionDetails";
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import Typography from "@mui/material/Typography";
import { Player } from "../../Player";
import { Player } from "@player";
import { Adjuster } from "./Adjuster";
// Update as additional BitNodes get implemented
+1 -1
View File
@@ -9,7 +9,7 @@ import Typography from "@mui/material/Typography";
import Button from "@mui/material/Button";
import Select, { SelectChangeEvent } from "@mui/material/Select";
import { Adjuster } from "./Adjuster";
import { Player } from "../../Player";
import { Player } from "@player";
import { Factions as AllFaction } from "../../Faction/Factions";
import FormControl from "@mui/material/FormControl";
import MenuItem from "@mui/material/MenuItem";
+1 -1
View File
@@ -7,7 +7,7 @@ import AccordionDetails from "@mui/material/AccordionDetails";
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import { Adjuster } from "./Adjuster";
import { Player } from "../../Player";
import { Player } from "@player";
const bigNumber = 1e27;
+1 -1
View File
@@ -8,7 +8,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import Typography from "@mui/material/Typography";
import Button from "@mui/material/Button";
import { Money } from "../../ui/React/Money";
import { Player } from "../../Player";
import { Player } from "@player";
import { Router } from "../../ui/GameRoot";
import { MenuItem, SelectChangeEvent, TextField, Select } from "@mui/material";
import { Bladeburner } from "../../Bladeburner/Bladeburner";
+1 -1
View File
@@ -8,7 +8,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import Typography from "@mui/material/Typography";
import Button from "@mui/material/Button";
import Select, { SelectChangeEvent } from "@mui/material/Select";
import { Player } from "../../Player";
import { Player } from "@player";
import { Programs as AllPrograms } from "../../Programs/Programs";
import MenuItem from "@mui/material/MenuItem";
+1 -1
View File
@@ -7,7 +7,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import Button from "@mui/material/Button";
import Typography from "@mui/material/Typography";
import { Player } from "../../Player";
import { Player } from "@player";
import { Adjuster } from "./Adjuster";
export function Sleeves(): React.ReactElement {
+1 -1
View File
@@ -8,7 +8,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import Typography from "@mui/material/Typography";
import Button from "@mui/material/Button";
import { PlayerOwnedSourceFile } from "../../SourceFile/PlayerOwnedSourceFile";
import { Player } from "../../Player";
import { Player } from "@player";
import ButtonGroup from "@mui/material/ButtonGroup";
// Update as additional BitNodes get implemented
+1 -1
View File
@@ -8,7 +8,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import Typography from "@mui/material/Typography";
import Button from "@mui/material/Button";
import { Adjuster } from "./Adjuster";
import { Player } from "../../Player";
import { Player } from "@player";
const bigNumber = 1e27;
+1 -1
View File
@@ -7,7 +7,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import Typography from "@mui/material/Typography";
import Button from "@mui/material/Button";
import { Player } from "../../Player";
import { Player } from "@player";
import { saveObject } from "../../SaveObject";
import { Engine } from "../../engine";