Class PlayerDBHelper

java.lang.Object
zombie.savefile.PlayerDBHelper

public final class PlayerDBHelper
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    PlayerDBHelper()  
  • Method Summary

    Modifier and Type Method Description
    static java.sql.Connection create()  
    static java.util.ArrayList getPlayers​(java.lang.String string)  
    static boolean isPlayerAlive​(java.lang.String string, int int1)  
    static void rollback​(java.sql.Connection connection)  
    static void setPlayer1​(java.lang.String string, int int1)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlayerDBHelper

      public PlayerDBHelper()
  • Method Details

    • create

      public static java.sql.Connection create()
    • rollback

      public static void rollback​(java.sql.Connection connection)
    • isPlayerAlive

      public static boolean isPlayerAlive​(java.lang.String string, int int1)
    • getPlayers

      public static java.util.ArrayList getPlayers​(java.lang.String string) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • setPlayer1

      public static void setPlayer1​(java.lang.String string, int int1) throws java.sql.SQLException
      Throws:
      java.sql.SQLException