public InfoPane(gObject owner) : base(owner, 46, 350) { this.m_enemy = new ItemList<EnemyIcon>(); for (int i = 0; i < 20; i++) { this.m_enemy.Add(new EnemyIcon(this)); } this.m_font = new gFont(true); this.m_player1 = new PlayerLifeIcon(this, false); this.m_flagIcon = new FlagIcon(this); }
public LoadingPane(int width, int height) : base(width, height) { this.m_life = 0; this.m_titleText = new TitleText(this); this.m_titleText.Life = 0; this.m_titleText.SetLocation((width - this.m_titleText.Width) / 2, 100); this.m_font = new gFont(false); }