mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-11 16:22:12 +00:00
Updated to newest function syntax
This commit is contained in:
parent
1cc2e9abe7
commit
ddf09173e4
@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
void Main(string input, int in)
|
||||
func Main(input, in)
|
||||
{
|
||||
print "PI is: " + PI
|
||||
int x = 1
|
||||
@ -21,7 +21,7 @@ void Main(string input, int in)
|
||||
CPP.Graphics.Init(64, 64, 4)
|
||||
}
|
||||
|
||||
void Update(string input)
|
||||
func Update(input)
|
||||
{
|
||||
int x = 0
|
||||
int y = 0
|
||||
@ -36,4 +36,4 @@ void Update(string input)
|
||||
x += 1
|
||||
}
|
||||
print "updating"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user