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

Method isAddSoldier

src/Graphwar/PlayerBoard.java:161–172  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

159 }
160
161 private boolean isAddSoldier(Object obj)
162 {
163 for(int i=0; i<addSoldier.length; i++)
164 {
165 if(addSoldier[i] == obj)
166 {
167 return true;
168 }
169 }
170
171 return false;
172 }
173
174 public void actionPerformed(ActionEvent arg0)
175 {

Callers 2

actionPerformedMethod · 0.95
mouseClickedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected