public void TakeDamage(int damages)
 {
     m_Harbor.m_HarborLife -= damages;
     if (m_Harbor.m_HarborLife < 0)
     {
         m_Harbor.m_HarborLife = 0;
     }
     m_Harbor.ActualizeUIHarbor();
 }
예제 #2
0
    //TRESOR METHODS

    #region Tresors
    public void AddTresor()
    {
        m_Harbor.m_TresorsHarbor++;
        m_Harbor.ActualizeUIHarbor();
    }