コード例 #1
0
 public GAMESTATE Update(List <Enemy> enemies, Player player, Map map, Camera camera, HUD hud, Battle battle, Inventory inventory, GAMESTATE gameState) // update list of enemies in a for loop
 {
     for (int i = 0; i < enemies.Count; i++)
     {
         gameState = enemies[i].Update(player, map, camera, hud, battle, inventory, gameState);
     }
     return(gameState);
 }