public WCFTerrain ToWCFTerrain() { WCFTerrain result = new WCFTerrain(); result.Name = this.Name; result.TerrainType = this.TerrainType; result.Supply = this.Supply; result.Power = this.Power; result.Strength = this.Strength; return(result); }
static internal Terrain ToTerrain(this WCFTerrain o) { Terrain result = new Terrain(); result.Name = o.Name; result.TerrainType = o.TerrainType; result.Supply = o.Supply; result.Power = o.Power; result.Strength = o.Strength; return(result); }