From 0ef5bb20cccadfbe072234b50103ac7dced8d15a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diana=20L=C3=B3pez=20Alvas?= Date: Mon, 22 Jul 2024 13:56:03 -0300 Subject: [PATCH] adding llamarCallback --- src/comportamientos/LlamarCallback.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/comportamientos/LlamarCallback.ts diff --git a/src/comportamientos/LlamarCallback.ts b/src/comportamientos/LlamarCallback.ts new file mode 100644 index 0000000..20855e4 --- /dev/null +++ b/src/comportamientos/LlamarCallback.ts @@ -0,0 +1,13 @@ +/// + +class LlamarCallback extends Comportamiento { + + iniciar() { } + + actualizar() { + this.argumentos.callback(); + return true; + }; + + eliminar() { } +}; \ No newline at end of file