//-------------------------------------------------------------------
//
//  This code is copyright 2001 by G5 Software.
//  Any unauthorized usage, either in part or in whole of this code
//  is strictly prohibited. Violators WILL be prosecuted to the
//  maximum extent allowed by law.
//
//-------------------------------------------------------------------

class CWoodShedMesh
{
  string MeshFile = "Models/B_WoodShed.mesh";
  string SkinFile = "Models/B_WoodShed.skin";
}

class CWoodShedStateControl extends CUnitLifeControl
{
  void CWoodShedStateControl()
  {
    CUnitLifeControl(3000.0);
    m_DestroyPause = 20.0;
    m_ExplosionId  = "EXPLID_BuildingExplosion";
  }
}

// Building without ground control (for use in villages)
class CBaseWoodShed extends CBuilding, CUnitWithStateControl
{
  void CBaseWoodShed()
  {
    InitializeModelAsStatic("CWoodShedMesh");
    CUnitWithStateControl("CWoodShedStateControl");
    Core_AddClassificator(CLASSIFICATOR_NOTVISIBLEONRADAR);
  }
}

// Single game object
class CMountedWoodShed extends CBaseWoodShed
{
  void CMountedWoodShed()
  {
    InitializeGroundControl();
  }
}


