forked from Bastion/Bastion
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
306 B
15 lines
306 B
1 year ago
|
local Tinkr, Bastion = ...
|
||
|
|
||
|
local ExampleModule = Bastion.Module:New('ExampleModule')
|
||
|
local Player = Bastion.UnitManager:Get('player')
|
||
|
|
||
|
local AdvancedMath = {}
|
||
|
|
||
|
AdvancedMath.__index = AdvancedMath
|
||
|
|
||
|
function AdvancedMath:Add(a, b)
|
||
|
return a + b
|
||
|
end
|
||
|
|
||
|
Bastion:RegisterLibrary('AdvancedMath', AdvancedMath)
|