import { type ClientConfig } from "./net"; export const CanvasLib = new (class { /** * Get pixel cooldown * * @param pixelNumber What pixel is this * @param config * @returns Seconds to take to give the pixel */ getPixelCooldown(pixelNumber: number, config: ClientConfig) { return config.pallete.pixel_cooldown / 1000; } })();