changed class -> proto

This commit is contained in:
2020-12-05 17:58:56 -06:00
parent e0d51c191f
commit 9ca67c8408
8 changed files with 13 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
class Vector
proto Vector
function __init(self)
self.vector = {}
self.x = 0

View File

@@ -1,4 +1,4 @@
class test
proto test
function __init(self, x)
self.setArg(x)
end

View File

@@ -1,4 +1,4 @@
class Test
proto Test
function __init(self, x)
self.x = x
end

View File

@@ -1,5 +1,5 @@
// crafts a dummy class
class test end
// crafts a dummy proto
proto test end
// instance of test
var obj = test()