mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-24 06:34:18 +01:00
migrate to soapstone
This commit is contained in:
1 parent
e5b44d4eb8
commit
127c55ec93
25 files changed
+61
-188
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import type { TankDefinition } from "@blitzkit/core";
|
||||
import { times } from "lodash-es";
|
||||
import { Varuna } from "varuna";
|
||||
import { Soapstone } from "soapstone";
|
||||
|
||||
export enum GuessState {
|
||||
Correct,
|
||||
@@ -18,7 +18,7 @@ export interface Guess {
|
||||
tiers: number[];
|
||||
}
|
||||
|
||||
export const Guess = new Varuna<Guess, TankDefinition>((tank) => ({
|
||||
export const Guess = new Soapstone<Guess, [TankDefinition]>((tank) => ({
|
||||
tank,
|
||||
guessState: GuessState.NotGuessed,
|
||||
totalGuesses: 0,
|
||||
|
||||
Reference in new issue
Block a user