/**
 * Ewok class works as an example to illustrate "class methods/data members"
 * and "instance methods/data members".  The key is in the use of modifier
 * 'static'. It works in tandem with TestEwok.java.
 * CSCE 155 Fall 2005
 *
 * @author Leen-Kiat Soh
 * @version 1.0
 */

class Ewok {

   private int fuzzyness;   // 0 - 10.  10 being most fuzzy.

   /**
    * This is the constructor of the class Ewok.  It does nothing right now.
    */

   public Ewok()  {

      fuzzyness = 5;

   }


   /**
    * This is a Class method of the class Ewok.  It simply prints out a
    * message.  Note that this is not an Instance method.
    */

   public static void printInfo()  {
      // System.out.println("I have fuzzyness = " + fuzzyness);

   }

   /**
    * This is an instance method of the class Ewok. It expects a parameter.
    * @params x an integer.
    */

   public void printInfoWithAnArgument(int x)  {
      System.out.println("I have an arugment and I have fuzzyness = " + fuzzyness);
   }

}  // end Ewok class

