コード例 #1
0
 public void Initialize(ILink link, List <IEnemy> enemies, List <IItem> receivedItems, List <IItem> obtainedItems, List <IBlock> blocks)
 {
     Link = link;
     Enemies.AddRange(enemies);
     ReceivedItems.AddRange(receivedItems);
     ObtainedItems.AddRange(obtainedItems);
     Block.AddRange(blocks);
 }
コード例 #2
0
 public void Initialize(IPlayer player, List <IEnemy> enemies, List <IItem> receivedItems, List <IItem> obtainedItems, List <IBlock> blocks)
 {
     Player = player;
     Enemies.AddRange(enemies);
     ReceivedItems.AddRange(receivedItems);
     ObtainedItems.AddRange(obtainedItems);
     Block.AddRange(blocks);
 }