Change the initial heading

Listing 4 modifies the initialization value

Listing 4. Change the initial heading.
  /** heading angle */
  //THIS IS A MODIFICATION
  //default faces north
  //private double heading = 0;
  // default faces northwest
  private double heading = 315;
File: bj.htm [Next] [Prev]