Beispiel #1
0
 public IEnemy Create(int type)
 {
     if (type == 0)
     {
         return(f1.Create(0));
     }
     else
     {
         return(f2.Create("hoge"));
     }
 }
Beispiel #2
0
 public IEnemy Spawn(string n)
 {
     return(f2.Create(n));
 }