Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
static void Play(IGameFactory factory) { var attackItem = factory.CreateAttackItem(); var defenseItem = factory.CreateDefenseItem(); var player = factory.CreatePlayer(attackItem, defenseItem); player.Display(); Console.WriteLine(); }