public Herbivore(int xposition, int yposition, int moves, OrganismMoves lastmove = OrganismMoves.Nothing) : base(xposition, yposition, moves) { if (this.Sex == Sex.Male) { this.Sprite = "H"; } else { this.Sprite = "h"; } this.LastMove = lastmove; this.ID = "Herbivore_" + Counter; }
public Carnivore(int xposition, int yposition, int moves, OrganismMoves lastmove = OrganismMoves.Nothing) : base(xposition, yposition, moves) { if (this.Sex == Sex.Male) { this.Sprite = "C"; } else { this.Sprite = "c"; } this.LastMove = lastmove; //this.Position = new Coordinate(xposition, yposition); this.ID = "Carnivore_" + Counter; }