You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
386 B

import { Juego } from "./main";
import { drawText } from "./utils";
export type State = {
current: "win";
};
export function update(juego: Juego<State>, dt: number) {}
export function draw(juego: Juego<State>, timestamp: number) {
drawText(
juego,
"¡Salvaste la costanera!",
{ x: juego.canvas.width / 2, y: 100 },
{ bold: true, size: 3, align: "center" }
);
}