//--------------------------------- //------------------------------------------------- public MainForm() { IsConnecting = true; IsShowingSandBox = false; IsCheckingForUpdate = false; IsCheckingForUpdateEnded = false; IsTheLastVer = false; IsServerOnBreak = false; IsServerUpdating = false; IsServerOnline = false; IsTheFirstTime = false; MainMenuLoaded = false; ReleasingDate = null; //------------------------------------- ThereIsConstants.AppSettings.DECoder = new DECoder(); if (ThereIsConstants.Forming.TheMainForm == null) { ThereIsConstants.Forming.TheMainForm = this; } InitializeComponent(); if (!Directory.Exists(ThereIsConstants.Path.main_Path + ThereIsConstants.Path.Temporary_Folder_Name)) { Directory.CreateDirectory(ThereIsConstants.Path.main_Path + ThereIsConstants.Path.Temporary_Folder_Name); } else { Directory.Delete(ThereIsConstants.Path.main_Path + ThereIsConstants.Path.Temporary_Folder_Name, true); Directory.CreateDirectory(ThereIsConstants.Path.main_Path + ThereIsConstants.Path.Temporary_Folder_Name); } ThereIsConstants.AppSettings.TimeWorker.Enabled = true; ThereIsConstants.AppSettings.TimeWorker.Interval = 1000; ThereIsConstants.AppSettings.TimeWorker.Tick += ThereIsConstants.Actions.TimeWorkerWorks; ThereIsConstants.AppSettings.WotoCreation = WotoCreation.GenerateWotoCreation(); //UnlimitedBladeWorks(); /* * Hero myHero1 = Hero.GenerateHero(GameObjects.Players.PlayerElement.WaterElement), * myHero2; * for(; ; ) * { * myHero2 = Hero.GenerateHero(GameObjects.Players.PlayerElement.WindElement); * MessageBox.Show(myHero2.HP.ToString()); * } * */ }
public WotoEventArgs(WotoCreation wotoCreation) { WotoCreation = wotoCreation; }
public VolumeChangedEventArgs(uint theNewVolume, WotoCreation wotoCreation) : base(wotoCreation) { NewVolume = theNewVolume; }
public SoundPlayerDisposedEventArgs(WotoCreation wotoCreation) : base(wotoCreation) { }
//------------------------------------------------- #region Constructor's Region public LoopModeChangedEventArgs(bool loopModeTurnedOn, WotoCreation wotoCreation) : base(wotoCreation) { LoopModeTurnedOn = loopModeTurnedOn; }
//------------------------------------------------- #region Constructor's Region public MouseEventArgs(WotoCreation wotoCreation, MouseButtons _button) : base(wotoCreation) { Button = _button; }
public SoundLocationChangedEventArgs(string theNewLocation, WotoCreation wotoCreation) : base(wotoCreation) { NewLocation = theNewLocation; }
//------------------------------------------------- public TickHandlerEventArgs(WotoCreation creation, T fatherSender) : base(creation) { Father = fatherSender; }