Updated to newest function syntax

This commit is contained in:
sam-astro 2022-01-05 08:43:28 -05:00 committed by GitHub
parent 1cc2e9abe7
commit ddf09173e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
void Main(string input, int in) func Main(input, in)
{ {
print "PI is: " + PI print "PI is: " + PI
int x = 1 int x = 1
@ -21,7 +21,7 @@ void Main(string input, int in)
CPP.Graphics.Init(64, 64, 4) CPP.Graphics.Init(64, 64, 4)
} }
void Update(string input) func Update(input)
{ {
int x = 0 int x = 0
int y = 0 int y = 0
@ -36,4 +36,4 @@ void Update(string input)
x += 1 x += 1
} }
print "updating" print "updating"
} }