/******************************************
  File: preparedIngredients.js
  Author: Hawkeye
  Created: 8/22/2002

  Okay it's called an ApplianceTool because it applies multi-faceted routines to create complex foods.  Examples would be a blender that would take banannas and yogurt and blueberries maybe, and makes a smoothie.  Or a microwave that turns a frozen pizza into dinner.

  This file provides superclass routines for complex object drawing tools.
  Complex objects are ones that include multiple sub-objects arranged on the fly acording to user entered parameters (mouse clicks).  Examples include Doors, walls, tatami, and the like.

  The type superclass should create an object group.
  Perhaps an object list.
  What else?

Complex objects will have:{
  Action State (multi-step)
  Action State update
  Mousedown vs. Mouseup?
  Interaction with other shapes?
  Color properties?

Wait!  The compex object class itself will extend the object group class.
  So, it's pointless to construct an objectGroup here.

So what exactly does this "superclass" do anyway?

********************************************/


/***************************************
  APPLANCE TOOL SUPERCLASS
THIS CLASS PROVIDES COMMON ROUTINES FOR DRAWING TOOLS
***************************************/
ApplianceTool.prototype = new DrawingTool();
ApplianceTool.prototype.constructor = ApplianceTool;
ApplianceTool.superclass = DrawingTool.prototype;

function ApplianceTool(){}
ApplianceTool.prototype.test = function(){
  alert("This is a test of the Appliance Tool.");
}

ApplianceTool.prototype.initTool = function(){alert("pure virtual function must be inited.-initTool");}
ApplianceTool.prototype.mouseup = function( evt ){alert("pure virtual function must be inited. -mouseup");}
ApplianceTool.prototype.mousemove = function( evt ){alert("pure virtual function must be inited. -mousemove");}
ApplianceTool.prototype.deactivate = function( evt ){alert("pure virtual function must be inited.  -deactivate");}
