docs refined

This commit is contained in:
sergeych committed 2026-01-04 22:50:49 +01:00
1 parent 11eadc1d9f
commit f5a3fbe9a3
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -365,8 +365,8 @@ Example:
```lyng
// Interface with state (id) and abstract requirements
interface Character(val id) {
abstract var health
abstract var mana
var health
var mana
fun isAlive() = health > 0
fun status() = name + " (#" + id + "): " + health + " HP, " + mana + " MP"