コード例 #1
0
 public override object Clone()
 {
     //Shallow Clone
     return(new MurderLevelInfo(LevelName, WorldTime, (PlayerLocation)LobbyLocation.Clone(),
                                PlayerSpawnLocations.ToList(), GunPartLocations.ToList()));
 }
コード例 #2
0
 public virtual object Clone()
 {
     return(new GameLevelInfo(GameType, LevelName, WorldTime, (PlayerLocation)LobbyLocation.Clone()));
 }