Ejemplo n.º 1
0
 public void RegisterOwnerPlayer(IOwnerPlayer ownerPlayer)
 {
     Leyoutech.Utility.DebugUtility.Log(LOG_TAG, "Register Owner Player: "
                                        + (ownerPlayer == null
                                 ? "None"
                                 : ownerPlayer.GetDisplay()));
     m_OwnerPlayer = ownerPlayer;
 }
Ejemplo n.º 2
0
 public void UnregisterOwnerPlayer(IOwnerPlayer ownerPlayer)
 {
     if (m_OwnerPlayer == ownerPlayer)
     {
         Leyoutech.Utility.DebugUtility.Log(LOG_TAG
                                            , "Unregister Owner Player: " + ownerPlayer.GetDisplay());
         m_OwnerPlayer = null;
     }
 }