This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void main() { | |
| var char1 = Character('Knight', 500, 1000, {'item1':'111', 'item2':'222', 'item3':'333'}); | |
| var char2 = Character('Paradin', 50, 1000, {'item0':'000'}); | |
| char1.sendItem(char2, 'item1'); | |
| char1.hit(char2); | |
| char1.hit(char2); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package test; | |
| import java.nio.charset.StandardCharsets; | |
| import java.security.MessageDigest; | |
| import java.security.NoSuchAlgorithmException; | |
| public class TestGiftcardSignature { | |
| public static void main(String[] args) { | |