Skip to content

Instantly share code, notes, and snippets.

View merenbach's full-sized avatar

Andrew Merenbach merenbach

View GitHub Profile
package.path = package.path .. ";../../middleclass.lua"
local class = require 'middleclass'
local Vector2 = class('Vector2')
function Vector2:initialize(x, y)
self.x = x
self.y = y
end