import { EightBittr } from "./EightBittr"; import { Actor } from "./types"; export const stubHeight = 480; export const stubWidth = 320; export const stubEightBittr = () => new EightBittr({ height: stubHeight, width: stubWidth, }); export const stubActor = (): Actor => ({ bottom: 28, changed: true, className: "Stub solid", groupType: "solid", height: 14, hidden: false, id: "", left: 35, maximumQuadrants: 1, numQuadrants: 0, opacity: 1, quadrants: [], right: 42, spriteHeight: 1, spriteWidth: 1, title: "Stub", top: 14, width: 7, xVelocity: 0, yVelocity: 0, });