Structs
Structs like c-do.
struct Foo(bar: Int)
struct Person(name: String, age: Int)Struct literals
val foo = Foo {bar: 20}
val npc = Person {name: "Jake", age: 512} (* Jake is Non playable coz he's dead, lol *)Last updated
Structs like c-do.
struct Foo(bar: Int)
struct Person(name: String, age: Int)val foo = Foo {bar: 20}
val npc = Person {name: "Jake", age: 512} (* Jake is Non playable coz he's dead, lol *)Last updated