From 1fcf7628a317c0dfe150643229db4b0f125ee8e4 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 24 Aug 2005 03:13:57 +0000 Subject: [PATCH] Added in real file --- installer/AMXXRelease/Build.cs | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 installer/AMXXRelease/Build.cs diff --git a/installer/AMXXRelease/Build.cs b/installer/AMXXRelease/Build.cs new file mode 100755 index 00000000..12b0473d --- /dev/null +++ b/installer/AMXXRelease/Build.cs @@ -0,0 +1,45 @@ +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(); + ModCstrike cstrike = new +ModCstrike(); + ModDoD dod = new ModDoD(); + ModEsf esf = new ModEsf(); + ModNs ns = new ModNs(); + ModTFC tfc = new ModTFC(); + ModTs ts = new ModTs(); + + m_Mods.Add(core); + m_Mods.Add(cstrike); + m_Mods.Add(dod); + m_Mods.Add(esf); + m_Mods.Add(ns); + m_Mods.Add(tfc); + m_Mods.Add(ts); + } + + public virtual int GetMods() + { + return m_Mods.Count; + } + + public virtual AMod GetMod(int i) + { + return (AMod)m_Mods[i]; + } + } +} +