aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs
blob: cbef1ca59e6aa2734343e5789b5c8b7afdf74259 (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();
    }
}