The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

tarlano (4) [Avatar] Offline
( Listing 1.7, page 13 )

Error 1 : The class in the listing is named GameCharacter, but the constructor is is named Character.
Error 2 : The HitByShooting method return type is Character, but the object returned is an instance of GameCharacter.
Tomas Petricek (160) [Avatar] Offline
Re: Listing 1.7 Immutable representation of a game character (C#)
Hi Anthony,
thanks for a careful reading - I'm just correcting these typos in the manuscript.