This repository has been archived on 2022-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
patterns/adapter/simpleadapter/lib/wildturkey.d

18 lines
242 B
D
Raw Permalink Normal View History

2022-11-16 10:55:33 +00:00
module lib.wildturkey;
import lib.turkey;
import std.stdio : writeln;
class WildTurkey : Turkey
{
void gobble()
{
writeln("Gobble gobble");
}
void fly()
{
writeln("I'm flying a short distance");
}
}