private void UITestForm_Load(object sender, EventArgs e) { testWelcomeControl = new WelcomeControl(); testWelcomeControl.Dock = DockStyle.Fill; testLocationControl = new LocationControl(); testLocationControl.Dock = DockStyle.Fill; testTeamControl = new TeamControl(); testTeamControl.Dock = DockStyle.Fill; testStructureControl = new StructureControl(); testStructureControl.Dock = DockStyle.Fill; testHistoryControl = new HistoryControl(); testHistoryControl.Dock = DockStyle.Fill; testMethodologyControl = new MethodologyControl(); testMethodologyControl.Dock = DockStyle.Fill; activeControlPanel.Controls.Add(testWelcomeControl); welcomeTabButton.BackColor = Color.DarkGray; progress = 1; this.data = new Data.Unit(); }
public StructureRegisterView() { InitializeComponent(); structureControl = new StructureControl(); companyControl = new CompanyControl(); fillGridStructure(); fillCBCompany(); }
public void setup(CitizenControl _citizenControl, StructureControl _structureControl, AchievementControl _achievementControl, Node _location) { citizenControl = _citizenControl; structureControl = _structureControl; achievementControl = _achievementControl; location = _location; action = ActionFactory.getAction(this); actionsLeftUntilMatingAllowed = 0; isZombie = false; }
/// <summary> /// Start server. /// </summary> public void Run() { Logger.Log("War World Infinity Server Version {0}", Version); Settings = new AppSettings(_directory + "Settings.ini"); _taskQueue = new TaskQueue(); CommandExec = new CommandExecuter(); //SocketPolicyServer.LoadAll(); SockServ = new WebSockServer(AppSettings.ServerPort); _netCommands = new NetworkCommands(); DB = new DataBase(AppSettings.DbServer, AppSettings.Database); DB.Connect(AppSettings.DbUsername, AppSettings.DbPassword); Worlds = new WorldManager(this); Structures = new StructureControl(); Chat = new ChatProcessor(); Users = new UserManager(); autoSaver = new AutoSave(); FCounter = new FrameCounter(); Alliances = new AllianceManager(); Squads = new SquadController(); Noise2D.RunAsync += TaskQueue.QeueAsync; _tickThread = new Thread(CommandExec.StartCommandLoop); _tickThread.Start(); GameLoop(); }
public BuildingItemApplication(StructureControl _structureControl) : base(_structureControl) { }
public SidewalkItemApplication(StructureControl _structureControl) : base(_structureControl) { }
public BombItemApplication(StructureControl _structureControl) : base(_structureControl) { }
protected ItemApplication(StructureControl _structureControl) { structureControl = _structureControl; }