public HarpyEggSack() : base(0x10D9)
        {
            Movable = false;

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
Beispiel #2
0
 public UnholyBone()
     : base(0xF7E)
 {
     Movable = false;
     m_Timer = new SpawnTimer(this);
     m_Timer.Start();
 }
Beispiel #3
0
        private void Gameover()
        {
            vreme.Stop();
            SpawnTimer.Stop();
            MoveTimer.Stop();
            ReduceSpeed.Stop();
            GameOver     go  = new GameOver(lbScore.Text);
            DialogResult res = go.ShowDialog();

            if (res == System.Windows.Forms.DialogResult.Retry)
            {
                veg.Clear();
                score        = 0;
                lbTime.Text  = "60";
                lbScore.Text = "0";
                vreme.Start();
                SpawnTimer.Start();
                MoveTimer.Start();
                pb1.Visible = true;
                pb2.Visible = true;
                pb3.Visible = true;
                canvas.Invalidate();
                SpawnTimer.Interval = 10;
                progress.Value      = 60;
                isPressed           = false;
                ReduceSpeed.Start();
            }
        }
		public DaemonGate() : base( 8148 )
		{
			Movable = false;
			Name = "Portal to the Abyss";

			m_Timer = new SpawnTimer( this );
			m_Timer.Start();
		}
        public RecluseSpiderEggSac() : base(4313)
        {
            Movable = false;


            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
Beispiel #6
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            _ = reader.ReadInt();

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
Beispiel #7
0
		public UnholyBone() : base( 0xF7E )
		{
			Movable = false;
			Hue = 0x497;

			m_Timer = new SpawnTimer( this );
			m_Timer.Start();
		}
		public RecluseSpiderEggSac() : base( 4313 )
		{
			Movable = false;


			m_Timer = new SpawnTimer( this );
			m_Timer.Start();
		}
Beispiel #9
0
        public DaemonGate() : base(8148)
        {
            Movable = false;
            Name    = "Portal to the Abyss";

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
Beispiel #10
0
		public DKMist() : base( 0x3789 )
		{
			Movable = false;
			Hue = 0x3F;

			m_Timer = new SpawnTimer( this );
			m_Timer.Start();
		}
        public HarpyEggSack()
            : base(0x10D9)
        {
            Movable = false;

            m_Timer = new SpawnTimer( this );
            m_Timer.Start();
        }
		public BloodwebSilk() : base( 0xF8D )
		{
			Movable = false;
			Hue = 2949;

			m_Timer = new SpawnTimer( this );
			m_Timer.Start();
		}
        public BloodwebSilk() : base(0xF8D)
        {
            Movable = false;
            Hue     = 2949;

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
Beispiel #14
0
 private void WorkStart()
 {
     this.Text = "Csv Summator - Working";
     timersManuallyActivated = false;
     isDirectoryFinished     = false;
     SpawnTimer.Start();
     UpdateStatus("ROZPOCZYNAM PRACĘ PROGRAMU", Color.Yellow);
 }
Beispiel #15
0
        public InsaneDagger() : base(0xF52)
        {
            Movable = false;
            Name    = "Insane Dagger";
            Hue     = 1153;

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
Beispiel #16
0
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadInt();

			m_Timer = new SpawnTimer( this );
			m_Timer.Start();
		}
		public InsaneDagger() : base( 0xF52 )
		{
			Movable = false;
			Name = "Insane Dagger";
			Hue = 1153;

			m_Timer = new SpawnTimer( this );
			m_Timer.Start();
		}
		public WindcallerGate() : base( 8148 )
		{
			Movable = false;
			Name = "Gate of Windcalling";
			Hue = 1237;

			m_Timer = new SpawnTimer( this );
			m_Timer.Start();
		}
        public CursedRumBottles() : base(0x99D)
        {
            Movable = false;
            Hue     = 0x483;
            Name    = "Cursed bottles of rum";

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
        public ElementalStone() : base(0x2809)
        {
            Movable = false;
            Hue     = 0x4F2;
            Name    = "Elemental Summoning Stone";

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
Beispiel #21
0
        public EarthcallerGate() : base(8148)
        {
            Movable = false;
            Name    = "Gate of Earthcalling";
            Hue     = 2311;

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
Beispiel #22
0
        public UnholyBone() : base(0xF7E)
        {
            Movable = false;
            Hue     = 0x497;
            Name    = "unholy bone";

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
        public WindcallerGate() : base(8148)
        {
            Movable = false;
            Name    = "Gate of Windcalling";
            Hue     = 1237;

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
        public PlaguedSkull()
            : base(Utility.Random( 0x1AE0, 5 ))
        {
            Movable = false;
            Hue = 0x55C;

            m_Timer = new SpawnTimer( this );
            m_Timer.Start();
        }
Beispiel #25
0
        public RSQEggSac()
            : base(4316)
        {
            Movable = false;
            Hue     = 350;

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
		public EarthcallerGate() : base( 8148 )
		{
			Movable = false;
			Name = "Gate of Earthcalling";
			Hue = 2311;

			m_Timer = new SpawnTimer( this );
			m_Timer.Start();
		}
		public ElementalStone() : base( 0x2809 )
		{
			Movable = false;
			Hue = 0x4F2;
			Name = "Elemental Summoning Stone";

			m_Timer = new SpawnTimer( this );
			m_Timer.Start();
		}
        private void StartSpawnTimer(TimeSpan delay)
        {
            StopSpawnTimer();

            m_SpawnTimer = new SpawnTimer(this, delay);
            m_SpawnTimer.Start();

            m_NextSpawnTime = DateTime.Now + delay;
        }
Beispiel #29
0
		private void StartSpawnTimer( TimeSpan delay )
		{
			StopSpawnTimer();

			m_SpawnTimer = new SpawnTimer( this, delay );
			m_SpawnTimer.Start();

			m_NextSpawnTime = DateTime.UtcNow + delay;
		}
Beispiel #30
0
        public SandMine() : base(0x11EA)
        {
            Movable = false;
            Name = "sand mine";

            Hue = 0;

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
Beispiel #31
0
        public SandMine() : base(0x11EA)
        {
            Movable = false;
            Name    = "sand mine";

            Hue = 0;

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
Beispiel #32
0
        public DKRemains() : base(3790)
        {
            Movable = false;

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();

            Effects.PlaySound(GetWorldLocation(), Map, 0x1FB);
            Effects.SendLocationEffect(GetWorldLocation(), Map, 0x3789, 10, 10, 0, 0);
        }
Beispiel #33
0
		public DKRemains() : base( 3790 )
		{
			Movable = false;

			m_Timer = new SpawnTimer( this );
			m_Timer.Start();

			Effects.PlaySound( GetWorldLocation(), Map, 0x1FB );
			Effects.SendLocationEffect( GetWorldLocation(), Map, 0x3789, 10, 10, 0, 0 );
		}
Beispiel #34
0
		public EarthGate( EarthSummoner summoner ) : base( 8148 )
		{
			Movable = false;
			Name = "Earth Gate";
			Hue = 2311;

			m_Timer = new SpawnTimer( this );
			m_Timer.Start();

			m_Summoner = summoner;
		}
Beispiel #35
0
 private void Igra_Load(object sender, EventArgs e)
 {
     SetStyle(ControlStyles.ResizeRedraw, true);
     SetStyle(ControlStyles.UserPaint, true);
     SetStyle(ControlStyles.AllPaintingInWmPaint, true);
     SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
     vreme.Start();
     SpawnTimer.Start();
     MoveTimer.Start();
     ReduceSpeed.Start();
 }
Beispiel #36
0
        public EarthGate(EarthSummoner summoner) : base(8148)
        {
            Movable = false;
            Name    = "Earth Gate";
            Hue     = 2311;

            m_Timer = new SpawnTimer(this);
            m_Timer.Start();

            m_Summoner = summoner;
        }
Beispiel #37
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            m_Delay        = reader.ReadTimeSpan();
            m_Town         = (TownStone)reader.ReadItem();
            m_SpawnedGuard = (PomiGuard)reader.ReadMobile();
            m_RangeHome    = reader.ReadInt();
            m_Running      = reader.ReadBool();
            if (m_Running)
            {
                m_timer = new SpawnTimer(m_Town, this, m_Delay);
                m_timer.Start();
            }
        }
Beispiel #38
0
        public WebCase()         //: base( 4314 )
        {
            Movable = false;
            Name    = "a mass of webbing";

            AddonComponent ac = null;

            ac = new AddonComponent(4284);
            AddComponent(ac, -1, 3, 0);
            ac = new AddonComponent(4313);
            AddComponent(ac, -1, 0, 0);
            ac = new AddonComponent(4313);
            AddComponent(ac, -1, -2, 0);
            ac = new AddonComponent(4313);
            AddComponent(ac, -2, 0, 0);
            ac = new AddonComponent(4282);
            AddComponent(ac, 1, 1, 0);
            ac = new AddonComponent(4281);
            AddComponent(ac, 2, 0, 0);
            ac = new AddonComponent(4283);
            AddComponent(ac, 0, 2, 0);
            ac = new AddonComponent(4280);
            AddComponent(ac, 3, -1, 0);
            ac = new AddonComponent(4314);
            AddComponent(ac, 1, 0, 0);
            ac = new AddonComponent(4317);
            AddComponent(ac, 2, 2, 51);
            ac = new AddonComponent(4313);
            AddComponent(ac, 0, 1, 30);
            ac = new AddonComponent(4314);
            AddComponent(ac, 2, 2, 50);



            m_Timer = new SpawnTimer(this);
            m_Timer.Start();
        }
Beispiel #39
0
		public WebCase() //: base( 4314 )
		{
			Movable = false;
			Name = "a mass of webbing";

AddonComponent ac = null;
			ac = new AddonComponent( 4284 );
			AddComponent( ac, -1, 3, 0 );
			ac = new AddonComponent( 4313 );
			AddComponent( ac, -1, 0, 0 );
			ac = new AddonComponent( 4313 );
			AddComponent( ac, -1, -2, 0 );
			ac = new AddonComponent( 4313 );
			AddComponent( ac, -2, 0, 0 );
			ac = new AddonComponent( 4282 );
			AddComponent( ac, 1, 1, 0 );
			ac = new AddonComponent( 4281 );
			AddComponent( ac, 2, 0, 0 );
			ac = new AddonComponent( 4283 );
			AddComponent( ac, 0, 2, 0 );
			ac = new AddonComponent( 4280 );
			AddComponent( ac, 3, -1, 0 );
			ac = new AddonComponent( 4314 );
			AddComponent( ac, 1, 0, 0 );
			ac = new AddonComponent( 4317 );
			AddComponent( ac, 2, 2, 51 );
			ac = new AddonComponent( 4313 );
			AddComponent( ac, 0, 1, 30 );
			ac = new AddonComponent( 4314 );
			AddComponent( ac, 2, 2, 50 );


		
			m_Timer = new SpawnTimer( this );
			m_Timer.Start();
			
		}
Beispiel #40
0
 public void Start()
 {
     m_timer = new SpawnTimer(m_Town, this, m_Delay);
     m_timer.Start();
     m_Running = true;
 }
Beispiel #41
0
		public void Start()
		{
			m_timer = new SpawnTimer(m_Town, this, m_Delay);
			m_timer.Start();
			m_Running = true;
		}
Beispiel #42
0
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadInt();
			m_Delay = reader.ReadTimeSpan();
			m_Town = (TownStone)reader.ReadItem();
			m_SpawnedGuard = (PomiGuard)reader.ReadMobile();
			m_RangeHome = reader.ReadInt();
			m_Running = reader.ReadBool();
			if(m_Running)
			{
				m_timer =  new SpawnTimer(m_Town, this, m_Delay);
				m_timer.Start();
			}
			
		}