Skip to content

Commit 9cbbbef

Browse files
committed
Minor changes - Interface
1 parent 2a00f13 commit 9cbbbef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

StrategyExample/People/IPeople.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ namespace StrategyExample.People
99
internal interface IPeople
1010
{
1111
void ShowInfo();
12+
Inventory GetInventory();
1213
}
1314
}

StrategyExample/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace StrategyExample
1010
{
1111
internal class Program
1212
{
13-
public static List<PeopleBase> characters = new List<PeopleBase>();
13+
public static List<IPeople> characters = new List<IPeople>();
1414

1515
public static void Main(string[] args)
1616
{

0 commit comments

Comments
 (0)