mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-12 01:34:19 +02:00
Update lua-kr.html.markdown
This commit is contained in:
@@ -327,7 +327,7 @@ seymour:makeSound() -- 'woof woof woof' -- 4.
|
|||||||
-- 필요할 경우, 하위 클래스의 new()는 기반 클래스의 new()와 유사합니다.
|
-- 필요할 경우, 하위 클래스의 new()는 기반 클래스의 new()와 유사합니다.
|
||||||
function LoudDog:new()
|
function LoudDog:new()
|
||||||
newObj = {}
|
newObj = {}
|
||||||
-- set up newObj
|
-- newObj를 구성
|
||||||
self.__index = self
|
self.__index = self
|
||||||
return setmetatable(newObj, self)
|
return setmetatable(newObj, self)
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user