Skip to content

Commit

Permalink
added more inputs to set owner and gender from extractor and tester. …
Browse files Browse the repository at this point in the history
…bugfix for tester.
  • Loading branch information
cadon committed Mar 14, 2016
1 parent 98dfb75 commit d756b73
Show file tree
Hide file tree
Showing 4 changed files with 276 additions and 65 deletions.
8 changes: 6 additions & 2 deletions ARKBreedingStats/Creature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,18 @@ public Creature()
initVars();
}

public Creature(string species, string name, Gender gender, int[] levelsWild, int[] levelsDom, double tamingEff, bool isBred)
public Creature(string species, string name, string owner, Gender gender, int[] levelsWild, int[] levelsDom, double tamingEff, bool isBred)
{
this.species = species;
this.name = name;
this.owner = owner;
this.gender = (Gender)gender;
this.levelsWild = levelsWild;
this.levelsDom = levelsDom;
this.tamingEff = tamingEff;
if (isBred)
this.tamingEff = 1;
else
this.tamingEff = tamingEff;
this.isBred = isBred;
initVars();
}
Expand Down
Loading

0 comments on commit d756b73

Please sign in to comment.