init wollok

This commit is contained in:
Coniglio Hernan Marcelo
2026-06-02 15:55:50 -03:00
commit 95e1f5fb73
5 changed files with 42 additions and 0 deletions

9
example.wlk Normal file
View File

@@ -0,0 +1,9 @@
object pepita {
var energy = 100
method energy() = energy
method fly(minutes) {
energy = energy - minutes * 3
}
}