mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-16 14:01:52 +00:00
18 lines
355 B
TypeScript
18 lines
355 B
TypeScript
export type Variant = 0 | 1 | 2;
|
|
|
|
export type VariantSet = [Variant, Variant, Variant];
|
|
|
|
export const variantData: any = {};
|
|
|
|
export const variantColorCache = {};
|
|
|
|
export function getVariantTint(variant: Variant): integer {
|
|
switch (variant) {
|
|
case 0:
|
|
return 0xf8c020;
|
|
case 1:
|
|
return 0x20f8f0;
|
|
case 2:
|
|
return 0xe81048;
|
|
}
|
|
} |