restored feed function

This commit is contained in:
Nathan
2024-03-16 23:45:01 -07:00
parent 3a10de9b22
commit eb13d99cbf
+6 -1
View File
@@ -22,8 +22,13 @@ import { PointBar } from "./ui/pointBar.js";
export class ComfyPetsStage extends ComfyNode {
constructor() {
super()
;(this.title = 'Comfy Pet'),
(this.feedButton = this.addButton('Feed pet', {}, () => {
this.addFood()
addFoodEvent()
}))
this.gutter = 8;
this.feedButton.x = this.gutter;
this.feedButton.y = this.gutter;
this.feedButton.fontSize = 14