-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* removed hydration and starvation rate * updated spawn files --------- Co-authored-by: Johnny-MB <66835978+Johnny-MB@users.noreply.github.com>
- Loading branch information
1 parent
a4b849e
commit 150781a
Showing
8 changed files
with
1,460 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace GeoRasterBlueprint.Model; | ||
|
||
public class AbstractHerd<T> where T : AbstractAnimal | ||
{ | ||
public readonly List<T> Animals; | ||
|
||
public AbstractHerd(int herdId, T leader, List<T> other) | ||
{ | ||
Animals = other; | ||
Id = herdId; | ||
LeadingAnimal = leader; | ||
} | ||
|
||
private int Id { get; } | ||
public T LeadingAnimal { get; } | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.