run-the-cat/src/scenes/gameScene.js
2025-04-30 02:50:42 +09:00

20 lines
447 B
JavaScript

import { colors } from '../theme.js';
import { draw as drawWorld, groundHeight } from '../world.js';
import { Cat } from '../cat.js';
export default function GameScene() {
let cat;
this.name = "GameScene";
this.setup = () => {
// cat = new Cat(width / 2, height - 200, 200);
};
this.draw = () => {
// drawWorld(p, groundHeight);
// cat.update();
// cat.draw();
text('dan yap', width / 2, height / 2 - 100);
};
}