zongors-universe-machine/project-example/common.ztl

20 lines
180 B
Plaintext

type Vec {
f32 x;
f32 y;
f32 z;
}
type Color {
i8 r;
i8 g;
i8 b;
}
type Player {
str username;
Vec pos;
Color color;
}
Color purple(255, 255, 0);