public void initialize() {
    Debug.println("Cannon initialize()");
    if (GameApplet.thisApplet != null)
    {
      Enumeration localEnumeration = getEnvironment().getObjects().elements();

      while (localEnumeration.hasMoreElements())
      {
        PhysicalObject localPhysicalObject = (PhysicalObject)localEnumeration.nextElement();
        if (!(localPhysicalObject instanceof CannonTrigger))
          continue;
        Debug.println("Cannon connecting to " + localPhysicalObject);
        ((CannonTrigger)localPhysicalObject).setCannon(this);
      }

      this.cannon = new AnimationComponent();
      this.orientation = 210;
      this.destOrientation = 210;
      updateAppearance(new Integer(this.orientation));
    }
  }