//-------------------------------------------------------------------
//
//  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 CBigSheafMesh
{
  string MeshFile = "Models/B_Sheaf_Big.mesh";
  string SkinFile = "Models/B_Sheaf_Big.skin";
}

class CBigSheafStateControl extends CUnitLifeControl
{
  void CBigSheafStateControl()
  {
    CUnitLifeControl(500.0);
    m_DestroyPause = 7.5;
    m_ExplosionId  = "EXPLID_ItemExplosion";
  }
}

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

// Single game object
class CMountedBigSheaf extends CBaseBigSheaf
{
  void CMountedBigSheaf()
  {
    InitializeGroundControl();
  }
}


