public void resourceTransfer(int attacker) { int[] takenRes = resources.dumpResources(); if (isLocalPlayer) { CmdTransferResources(attacker, takenRes); } }
public void RpcDumpResources() { resPool.dumpResources(); }