Spec
FutureBlitz Language Specification (v0)
Status: Locked unless a section says otherwise.
Code examples use ```vb fences for approximate syntax highlighting.
A taste
Import std.math
Class Enemy
Public Field name: String
Field hp: Int = 100
New(name: String)
Self.name = name
End New
Method Hurt(amount: Int)
hp -= amount
If hp <= 0 Then Print("{name} died")
End Method
End Class
Local enemies: Enemy[] = [Enemy("grunt"), Enemy("boss")]
For e In enemies
e.Hurt(150)
End ForReport an issue with this page or with FutureBlitz on GitHub.