Skip to content

Commit f550605

Browse files
committed
ex-02: delegate airSpeedVelocity to speciesDelegate at AffricanSwallow
1 parent adb92cb commit f550605

File tree

1 file changed

+1
-1
lines changed
  • src/example-02/birds/affrican-swallow

1 file changed

+1
-1
lines changed

src/example-02/birds/affrican-swallow/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export class AffricanSwallow extends Bird {
77
}
88

99
get airSpeedVelocity() {
10-
return 40 - 2 * this._numberOfCoconuts;
10+
return this._speciesDelegate.airSpeedVelocity;
1111
}
1212
}

0 commit comments

Comments
 (0)