MCPcopy Create free account
hub / github.com/catabriga/graphwar / playerAlreadyHit

Method playerAlreadyHit

src/Graphwar/Function.java:162–171  ·  view source on GitHub ↗
(int player, int soldier)

Source from the content-addressed store, hash-verified

160 }
161
162 private boolean playerAlreadyHit(int player, int soldier)
163 {
164 for(int i=0; i<numPlayersHit; i++)
165 {
166 if(playersHit[i] == player && soldiersHit[i]==soldier)
167 return true;
168 }
169
170 return false;
171 }
172
173 public void processFunctionRange(Obstacle obstacle, Player players[], int numPlayers, int currentTurn, boolean inverted)
174 {

Callers 3

processFunctionRangeMethod · 0.95
processRK4RangeMethod · 0.95
processRK42RangeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected