function delegateConnect(address snd, address addr, uint8 v, bytes32 r, bytes32 s) { bytes32 hash = sha3("connect", snd, addr, nonce[snd]); if (!connection[sha3(snd,ecrecover(hash, v, r, s))]) return; nonce[snd]++; delegations[snd]--; connection[sha3(snd,addr)] = true; }
Next week I'll make the camera follow the character in the game, and support for background images in levels.
Ei kommentteja:
Lähetä kommentti