patterns/adapter/simpleadapter/lib/wildturkey.d

18 lines
242 B
D
Raw Normal View History

2022-12-05 07:38:19 +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");
}
}