20,741
edits
Red Leader (talk | contribs) (Progess) |
m (→Implementation: sub-classing: http://wiki.flightgear.org/Object_Oriented_Programming_with_Nasal#Sub-Classing) |
||
| Line 200: | Line 200: | ||
PS Hooary, how do you sub-class an existing Nasal class? | PS Hooary, how do you sub-class an existing Nasal class? | ||
[[User:Red_Leader|Red Leader]] ([[User_talk:Red_Leader|Talk]] | [[Special:Contributions/Red_Leader|contribs]]) 20:15, 29 October 2014 (UTC) | [[User:Red_Leader|Red Leader]] ([[User_talk:Red_Leader|Talk]] | [[Special:Contributions/Red_Leader|contribs]]) 20:15, 29 October 2014 (UTC) | ||
:: No special syntax/techniques involved - it just involves adding fields/methods to the new object, either directly - or via inheritance (the parents vector). I've added stubs to Philosopher's OO article at: http://wiki.flightgear.org/Object_Oriented_Programming_with_Nasal#Sub-Classing --[[User:Hooray|Hooray]] ([[User talk:Hooray|talk]]) 21:00, 29 October 2014 (UTC) | |||