mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-13 11:13:50 +01:00
24 lines
923 B
TypeScript
24 lines
923 B
TypeScript
import { ActiveFragment } from "./ActiveFragment";
|
|
import { Fragment } from "./Fragment";
|
|
import { IPlayer } from "../PersonObjects/IPlayer";
|
|
|
|
export interface IStaneksGift {
|
|
storedCycles: number;
|
|
fragments: ActiveFragment[];
|
|
width(): number;
|
|
height(): number;
|
|
charge(player: IPlayer, fragment: ActiveFragment, threads: number): void;
|
|
process(p: IPlayer, n: number): void;
|
|
effect(fragment: ActiveFragment): number;
|
|
canPlace(x: number, y: number, rotation: number, fragment: Fragment): boolean;
|
|
place(x: number, y: number, rotation: number, fragment: Fragment): boolean;
|
|
findFragment(rootX: number, rootY: number): ActiveFragment | undefined;
|
|
fragmentAt(rootX: number, rootY: number): ActiveFragment | undefined;
|
|
delete(rootX: number, rootY: number): boolean;
|
|
clear(): void;
|
|
count(fragment: Fragment): number;
|
|
inBonus(): boolean;
|
|
prestigeAugmentation(): void;
|
|
prestigeSourceFile(): void;
|
|
}
|