amxmodx/installer/AMXXRelease/Build.cs

45 lines
762 B
C#
Raw Normal View History

2005-08-24 07:13:57 +04:00
using System;
using System.Collections;
namespace AMXXRelease
{
//Class that iterates the different pieces
// to be completed over for the build
public class Build
{
protected ArrayList m_Mods;
public Build()
{
m_Mods = new ArrayList();
CoreMod core = new CoreMod();
2005-08-24 10:56:02 +04:00
ModCstrike cstrike = new ModCstrike();
2005-08-24 07:13:57 +04:00
ModDoD dod = new ModDoD();
ModEsf esf = new ModEsf();
ModNs ns = new ModNs();
ModTFC tfc = new ModTFC();
ModTs ts = new ModTs();
2005-08-25 12:20:11 +04:00
m_Mods.Add(core);
2005-08-24 07:13:57 +04:00
m_Mods.Add(cstrike);
m_Mods.Add(dod);
m_Mods.Add(esf);
m_Mods.Add(ns);
2005-08-25 12:20:11 +04:00
m_Mods.Add(tfc);
2005-08-24 07:13:57 +04:00
m_Mods.Add(ts);
}
public virtual int GetMods()
{
return m_Mods.Count;
}
public virtual AMod GetMod(int i)
{
return (AMod)m_Mods[i];
}
}
}