|
1 | 1 | package simulation.simulationData; |
2 | 2 |
|
3 | 3 | public class SimulationData { |
4 | | - public AnimalData[] preysData; // An array of prey species data |
5 | | - public AnimalData[] predatorsData; // An array of predator species data |
6 | | - public PlantData[] plantsData; // An array of plant types data |
| 4 | + public AnimalData[] preysData; // An array of prey species data. |
| 5 | + public AnimalData[] predatorsData; // An array of predator species data. |
| 6 | + public PlantData[] plantsData; // An array of plant types data. |
7 | 7 |
|
8 | | - public double foodValueForAnimals; // Scales the food value of animals |
9 | | - public double foodValueForPlants; // Scales the food value of plants |
10 | | - public double animalHungerDrain; // Controls rate of foodLevel depletion over time |
11 | | - public double animalBreedingCost; // Scales how much food is consumed on breeding; use 0 for no food cost |
| 8 | + public double foodValueForAnimals; // Scales the food value of animals. |
| 9 | + public double foodValueForPlants; // Scales the food value of plants. |
| 10 | + public double animalHungerDrain; // Controls rate of foodLevel depletion over time. |
| 11 | + public double animalBreedingCost; // Scales how much food is consumed on breeding; use 0 for no food cost. |
12 | 12 |
|
13 | | - public double mutationFactor; // The ratio that the genetics will mutate by |
14 | | - public double entityAgeRate; // Controls how fast the entities age |
| 13 | + public double mutationFactor; // The ratio that the genetics will mutate by. |
| 14 | + public double entityAgeRate; // Controls how fast the entities age. |
15 | 15 | public double fieldScaleFactor; // The size of the field, smaller value means more zoomed in. |
16 | | - public double weatherChangeProbability; // The probability of the weather changing |
17 | | - public double windStrength; // The strength of the wind in windy conditions |
18 | | - public double stormMovementSpeedFactor; // When a storm happens, the factor that hinders the entities' speed |
19 | | - public double dayNightCycleSpeed; // The speed of the day-night cycle -- how fast the time passes |
20 | | - public boolean doDayNightCycle; // Whether the day-night cycle is enabled |
21 | | - public boolean doWeatherCycle; // Whether the weather cycle is enabled |
22 | | - public boolean showQuadTrees; // Whether the quad trees are shown |
| 16 | + public double weatherChangeProbability; // The probability of the weather changing. |
| 17 | + public double windStrength; // The strength of the wind in windy conditions. |
| 18 | + public double stormMovementSpeedFactor; // When a storm happens, the factor that hinders the entities' speed. |
| 19 | + public double dayNightCycleSpeed; // The speed of the day-night cycle -- how fast the time passes. |
| 20 | + public boolean doDayNightCycle; // Whether the day-night cycle is enabled. |
| 21 | + public boolean doWeatherCycle; // Whether the weather cycle is enabled. |
| 22 | + public boolean showQuadTrees; // Whether the quad trees are shown. |
23 | 23 |
|
24 | 24 | public double animalHungerThreshold; // Animals will look for food at this threshold. |
25 | 25 | public double animalDyingOfHungerThreshold; // Animals will prioritise looking for food at this threshold. |
|
0 commit comments