Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
fix class
Browse files Browse the repository at this point in the history
  • Loading branch information
Forenard committed May 1, 2022
1 parent 9b334de commit df30dcf
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions server/CircuitBuilder.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Basis } from './Basis'
import { CircuitParts } from './CircuitParts'
import type { CircuitParts } from './CircuitParts'
import { Condenser } from './CircuitParts/Condenser'
import { CPU } from './CircuitParts/CPU'
import { GraphicBoard } from './CircuitParts/GraphicBoard'
Expand All @@ -11,7 +11,7 @@ import { TipSet } from './CircuitParts/TipSet'
import { PowerSupply } from './CircuitParts/PowerSupply'
import { Audio } from './CircuitParts/Audio'
import { CircuitUtils } from './CircuitUtils'
import { Genre, ServerResponse } from './ServerMain'
import type { Genre, ServerResponse } from './ServerMain'

export class CircuitBuilder {
//単位提出数(subUnit毎に一つパーツがおかれる)
Expand Down
2 changes: 1 addition & 1 deletion server/CircuitParts.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Genre } from './ServerMain'
import type { Genre } from './ServerMain'

export abstract class CircuitParts {
public sizeX = 0
Expand Down
2 changes: 1 addition & 1 deletion server/CircuitParts/Audio.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CircuitParts } from '../CircuitParts'
import { Genre } from '../ServerMain'
import type { Genre } from '../ServerMain'
export class Audio extends CircuitParts {
public sizeX = 5
public sizeY = 2
Expand Down
2 changes: 1 addition & 1 deletion server/CircuitParts/Condenser.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CircuitParts } from '../CircuitParts'
import { Genre } from '../ServerMain'
import type { Genre } from '../ServerMain'
export class Condenser extends CircuitParts {
public sizeX = 1
public sizeY = 7
Expand Down
2 changes: 1 addition & 1 deletion server/CircuitParts/GraphicBoard.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CircuitParts } from '../CircuitParts'
import { Genre } from '../ServerMain'
import type { Genre } from '../ServerMain'
export class GraphicBoard extends CircuitParts {
public sizeX = 1
public sizeY = 6
Expand Down
2 changes: 1 addition & 1 deletion server/CircuitParts/HDD.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CircuitParts } from '../CircuitParts'
import { Genre } from '../ServerMain'
import type { Genre } from '../ServerMain'
export class HDD extends CircuitParts {
public sizeX = 4
public sizeY = 2
Expand Down
2 changes: 1 addition & 1 deletion server/CircuitParts/Memory.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CircuitParts } from '../CircuitParts'
import { Genre } from '../ServerMain'
import type { Genre } from '../ServerMain'
export class Memory extends CircuitParts {
public sizeX = 8
public sizeY = 4
Expand Down
2 changes: 1 addition & 1 deletion server/CircuitParts/Ports.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CircuitParts } from '../CircuitParts'
import { Genre } from '../ServerMain'
import type { Genre } from '../ServerMain'
export class Ports extends CircuitParts {
public sizeX = 2
public sizeY = 3
Expand Down
2 changes: 1 addition & 1 deletion server/CircuitParts/PowerSupply.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CircuitParts } from '../CircuitParts'
import { Genre } from '../ServerMain'
import type { Genre } from '../ServerMain'
export class PowerSupply extends CircuitParts {
public sizeX = 3
public sizeY = 2
Expand Down
2 changes: 1 addition & 1 deletion server/CircuitParts/SSD.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CircuitParts } from '../CircuitParts'
import { Genre } from '../ServerMain'
import type { Genre } from '../ServerMain'
export class SSD extends CircuitParts {
public sizeX = 6
public sizeY = 5
Expand Down
2 changes: 1 addition & 1 deletion server/CircuitParts/TipSet.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CircuitParts } from '../CircuitParts'
import { Genre } from '../ServerMain'
import type { Genre } from '../ServerMain'
export class TipSet extends CircuitParts {
public sizeX = 2
public sizeY = 2
Expand Down
2 changes: 1 addition & 1 deletion server/CircuitUtils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {
import type {
CircuitServerBasisInfo,
CircuitServerPartsInfo,
CircuitServerWiresInfo
Expand Down

0 comments on commit df30dcf

Please sign in to comment.