MCPcopy Create free account
hub / github.com/chrxh/alien / getParameters

Method getParameters

source/EngineTests/AttackerTests.cpp:14–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12{
13public:
14 static SimulationParameters getParameters()
15 {
16 SimulationParameters result;
17 result.innerFriction = 0;
18 result.baseValues.friction = 0;
19 for (int i = 0; i < MAX_COLORS; ++i) {
20 result.baseValues.radiationCellAgeStrength[i] = 0;
21 }
22 return result;
23 }
24 AttackerTests()
25 : IntegrationTestFramework(getParameters())
26 {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected