public MainForm() { InitializeComponent(); this.Text = "Dust Collector"; RSForm = new RoomSizeForm(this); SRForm = new SetRandomForm(this); SFForm = new SetForwardForm(this); Processing = Process.None; RoomDisplay = new DBLayoutPanel(); RoomDisplay.Parent = MainPanel; RoomDisplay.Dock = DockStyle.Fill; RoomDisplay.CellPaint += Environment_CellPaint; RoomDisplay.BackColor = Color.White; Room = new RoomEnvironment(RoomDisplay, this); this.timePassed = 0; }
public RoomEnvironment(DBLayoutPanel d, MainForm MF) { Display = d; MForm = MF; UpdatableObject = new List <RoomObject>(); }