title: How to write a constructor that contains a boolean value?
body: <p>This is a dumb question but it's been a long time since I've worked with java...  How can I write my constructor with Boolean values or should I just write a default constructor?  I have been working with C++ most recently and I've forgotten a lot of syntax for java.</p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>public class Creature {
      protected int terrain;
      public static final int DESERT = 0;
      public static final int MOUNTAIN = 1;
      public static final int FOREST = 2;
  
      //symbols on cards
      boolean flyingCreature = false;
      boolean magicCreature = false;
      boolean canCharge = false;
      boolean rangedCombat false;
      public int specialAbility = 0;
  
      public Creature(int startTerrain, boolean flying, boolean magic, boolean charge, boolean ranged, int special){
          ?
      }   
  }
  </code></pre>
  
  <p>I can't seem to find anything when I do a search... How do I initialize each value in my constructor?  or should I just have </p>
  
  <pre><code>public Creature(){
      startTerrain = DESERT;
      flyingCreature = false;
      magicCreature = false;
      canCharge = false;
      specialAbility = 0;
  } ?
  </code></pre>
  
  <p>I also have several classes inheriting from this one, so I'm not sure if that makes a difference.</p>