예제 #1
0
 public static void setMousePokemon(DataInputStream dataStream) {
   MaemeDataPacket p = new MaemeDataPacket();
   try {
     p.readPacketData(dataStream);
     mousePokemon = p;
   } catch (IOException e) {
     e.printStackTrace();
   }
 }
예제 #2
0
 public static void addToList(DataInputStream dataStream) {
   MaemeDataPacket p = new MaemeDataPacket();
   try {
     p.readPacketData(dataStream);
     store[p.boxNumber][p.order] = p;
   } catch (IOException e) {
     e.printStackTrace();
   }
 }