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

Method mouseClicked

src/Graphwar/PlayerBoard.java:190–199  ·  view source on GitHub ↗
(MouseEvent arg0)

Source from the content-addressed store, hash-verified

188 }
189
190 public void mouseClicked(MouseEvent arg0)
191 {
192 if(arg0.getButton()==MouseEvent.BUTTON3)
193 {
194 if(isAddSoldier(arg0.getSource()))
195 {
196 graphwar.getGameData().removeSoldier(player);
197 }
198 }
199 }
200
201 public void mouseEntered(MouseEvent arg0)
202 {

Callers

nothing calls this directly

Calls 3

isAddSoldierMethod · 0.95
getGameDataMethod · 0.80
removeSoldierMethod · 0.45

Tested by

no test coverage detected