Re: AKClassHierarchy
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: AKClassHierarchy
- From: Gavin Kistner <gavin@...>
- Date: 2006年2月11日 17:41:02 -0700
On Feb 11, 2006, at 12:00 PM, PA wrote:
UnitSquare = AKClass:new( Square )
function UnitSquare:initialize( )
Square.initialize( self, 1 )
end
You could make the above look more like this:
local super = Square
local self = AKClass:new( super )
function self:initialize( )
super.initialize( self, 1 )
end
I'm confused what you mean by this. Could you elaborate?