This commit is contained in:
Andras Schmelczer 2026-05-17 17:21:49 +01:00
parent ced0ac56f3
commit d6a8f898d1
27 changed files with 760 additions and 363 deletions

View file

@ -1,9 +1,9 @@
import { activeVibe } from '../settings';
import { hexToRgb } from '../vibes';
import { hexToRgb, type VibeId } from '../vibes';
import { RenderInputs } from './game-loop-types';
export class RenderInputCache {
private cachedVibeId: string | null = null;
private cachedVibeId: VibeId | null = null;
private cachedRenderInputs?: RenderInputs;
private previousAccentColor = '';