aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs
blob: b2e6d2e30d11cff7c4a5e88bb0ef7cee85cb1dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
{
    public abstract class MRMBase
    {
        private IWorld m_world;
        private IHost m_host;

        public void InitMiniModule(IWorld world, IHost host)
        {
            m_world = world;
            m_host = host;
        }

        protected IWorld World
        {
            get { return m_world; }
        }

        protected  IHost Host
        {
            get { return m_host; }
        }

        public abstract void Start();
        public abstract void Stop();
    }
}