mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 07:29:02 -08:00
Merge pull request #142 from bwignall/38_pelt_access
Array access changes
This commit is contained in:
@@ -17,9 +17,9 @@ namespace FurTrader
|
||||
internal int[] Pelts { get; private set; }
|
||||
|
||||
internal int MinkPelts { get { return this.Pelts[0]; } set { this.Pelts[0] = value; } }
|
||||
internal int BeaverPelts { get { return this.Pelts[0]; } set { this.Pelts[0] = value; } }
|
||||
internal int ErminePelts { get { return this.Pelts[0]; } set { this.Pelts[0] = value; } }
|
||||
internal int FoxPelts { get { return this.Pelts[0]; } set { this.Pelts[0] = value; } }
|
||||
internal int BeaverPelts { get { return this.Pelts[1]; } set { this.Pelts[1] = value; } }
|
||||
internal int ErminePelts { get { return this.Pelts[2]; } set { this.Pelts[2] = value; } }
|
||||
internal int FoxPelts { get { return this.Pelts[3]; } set { this.Pelts[3] = value; } }
|
||||
|
||||
internal int SelectedFort { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user