title: Access object from another class to get its variable
body: <p>I got the object <code>wolfOne</code> of the Class <code>Wolf</code>, and I need to access to its variable <code>mAlive</code> in another Class, how may I don it?</p>
  
  <pre><code>    Wolf wolfOne;
  </code></pre>
  
  <p><strong>//Wolf Class</strong></p>
  
  <pre><code>public class Wolf extends Card {
  
      public Wolf(){
          mCharacter = "Wolf";
      }
  
      public void savage(Card card) {
          card.mAlive = false;
      }
  
  }
  </code></pre>
  
  <p><strong>//Card Class</strong></p>
  
  <pre><code>public class Card {
  
      //Names
      public String mCharacter;
  
      //Status
      public static boolean mAlive;
      public static boolean mDefended;
      public static boolean mOwled;
      public static boolean mLastSavaged;
      public static boolean mLastLynched;
  
  
      //Constructor
      public Card() {
          // Do Card specific stuff.
      }
  }
  </code></pre>