Ejemplo n.º 1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     charaList = new List <Chara>();
     timeCount = new TimeCounter();
     ship      = new Chara(Properties.Resources.ship);
     charaList.Add(ship);
 }
Ejemplo n.º 2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            charaList = new List <Chara>();
            timeCount = new TimeCounter();
            ship      = new Chara(Properties.Resources.ship);
            missile   = new Chara[10];
            for (int i = 0; i < missile.Length; i++)
            {
                missile[i]         = new Chara(Properties.Resources.Missile);
                missile[i].Visible = false;
                charaList.Add(missile[i]);
            }

            charaList.Add(ship);
        }