public static Shield GetShieldFromID(int id) { switch (id) { case 0: return(Shields.CreateSpeedboost()); case 1: return(Shields.CreateBasicShield()); case 2: return(Shields.CreateTowerShield()); case 3: return(Shields.CreateThunderStone()); case 4: return(Shields.CreateElvenTrinket()); default: return(Shields.CreateBasicShield()); } }