2017-10-31 23:09:36 -04:00
|
|
|
const Cow = Class( 'Cow',
|
2012-05-05 14:09:27 -04:00
|
|
|
{
|
2017-10-31 23:09:36 -04:00
|
|
|
'virtual public tip'()
|
2012-05-05 14:09:27 -04:00
|
|
|
{
|
|
|
|
return "Omph.";
|
|
|
|
},
|
|
|
|
} );
|
|
|
|
|
2017-10-31 23:09:36 -04:00
|
|
|
const SturdyCow = Class( 'SturdyCow' )
|
2012-05-05 14:09:27 -04:00
|
|
|
.extend( Cow,
|
|
|
|
{
|
2017-10-31 23:09:36 -04:00
|
|
|
'override public tip'()
|
2012-05-05 14:09:27 -04:00
|
|
|
{
|
|
|
|
return "Moo.";
|
|
|
|
},
|
|
|
|
} );
|