From 47edc8909a5610a00b7239c18748bed09e3b3d18 Mon Sep 17 00:00:00 2001 From: zongor Date: Sun, 26 Jan 2025 10:11:13 -0500 Subject: [PATCH] setting type was in old style --- docs/project-example-v2/src/common.ztl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/project-example-v2/src/common.ztl b/docs/project-example-v2/src/common.ztl index 6746457..292cf2e 100644 --- a/docs/project-example-v2/src/common.ztl +++ b/docs/project-example-v2/src/common.ztl @@ -1,16 +1,16 @@ -type :Vec { +set :Vec to type { f32 :x, f32 :y, f32 :z, }; -type :Color { +set :Color to type { i8 :r, i8 :g, i8 :b, }; -type :Player { +set :Player to type { str :username, Vec :pos, Color :color,