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

Method addPC

src/Graphwar/GameData.java:347–355  ·  view source on GitHub ↗
(String name, int level)

Source from the content-addressed store, hash-verified

345 }
346
347 public void addPC(String name, int level)
348 {
349 if(players.size() < Constants.MAX_PLAYERS)
350 {
351 nextPCs.add(new Integer(level));
352
353 addPlayer(name);
354 }
355 }
356
357 public void removePlayer(Player player)
358 {

Callers 1

actionPerformedMethod · 0.80

Calls 1

addPlayerMethod · 0.95

Tested by

no test coverage detected