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