Exemple #1
0
 private new void SetValuesAndCheckOnDeserialized(StreamingContext context)
 {
     base.SetValuesAndCheckOnDeserialized(context);
     peopleGeneration = new CreationPeopleProbability(model);
 }
Exemple #2
0
 public Gate(GameRecords m, Coordinates c)
 {
     this.model = m;
     this.coord = c;
     this.entrance = new AmusementEnterPath(m, new Coordinates(c.x, (byte)(c.y + height / 2)), this, tangible: false);
     this.exit = new AmusementExitPath(m, new Coordinates(c.x, (byte)(c.y + height / 2)), this, tangible: false);
     this.CurrFee = 0;
     this.entranceFee = originalFee;
     m.maps.AddAmus(this);
     peopleGeneration = new CreationPeopleProbability(model);
 }