How to make class B inherits class A with Lua?

前端 未结 0 1946
遥遥无期
遥遥无期 2021-02-13 13:07

What I know is to make a class like that:

A =
{
  x = 0,
  y = 0,
}

setmetatable(A, {
  __call = function(self, instance)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题