摘要: 在lua中创建一个Actor对象function Actor.new() local temp = {} setmetatable(temp, Actor) temp.x = 10 temp.y = 20 return tempendobj = Actor.new()那么obj.x = 1... 阅读全文
posted @ 2014-05-08 12:31 云中飞鹤 阅读(512) 评论(0) 推荐(0)