public HUSamSet(RunToDeath trochoichinh, Texture2D[] anhsamset, SoundEffect tiengsamset1, SoundEffect tiengsamset2, SoundEffect tiengsamset3)
 {
     trochoi = trochoichinh;
     hasamset = anhsamset;
     amsamset1 = tiengsamset1;
     amsamset2 = tiengsamset2;
     amsamset3 = tiengsamset3;
     DSNgauNhien();
 }
 public TNapDuLieu(RunToDeath trochoichinh)
 {
     trochoi = trochoichinh;
     atnen = new MChayAnhThuong(1, trochoi.Content.Load<Texture2D>("HinhAnh/GioiThieuHang/NenGioiThieu"), null, new Vector2(0, 0), null, trochoi.ktmanhinh, trochoi.tile);
     atnen.DoiKichThuoc(trochoi.ktmanhinh.X, trochoi.ktmanhinh.Y);
     atnentientrinh = new MChayAnhThuong(1, trochoi.Content.Load<Texture2D>("HinhAnh/DiemTrang"), null, new Vector2(tdx, tdy), null, trochoi.ktmanhinh, trochoi.tile);
     atnentientrinh.DoiKichThuoc(rongtientrinh, daitientrinh);
     attientrinh = new MChayAnhThuong(1, trochoi.Content.Load<Texture2D>("HinhAnh/DiemDo"), null, new Vector2(tdx, tdy), null, trochoi.ktmanhinh, trochoi.tile);
     attientrinh.DoiKichThuoc(rongtientrinh, daitientrinh);
     string noidungnap = "Loading datas ...";
     if (trochoi.ngonngu != "english") noidungnap = "Nạp các dữ liệu ...";
     trochoi.anhbokytu[0] = trochoi.bokytu[0].XuatAnhKyTu(noidungnap, 0, 0, 1, 1, 1, 1, new Rectangle(0, 0, 0, 0), Color.Transparent, Color.White);
     tdhtbkt = new Vector2(tdx * trochoi.tile.X, (tdy - trochoi.anhbokytu[0].Height) * trochoi.tile.Y);
 }
 public HUDanChim(RunToDeath trochoichinh, Texture2D[] anhdanchim)
 {
     trochoi = trochoichinh;
     hachimbayxa = anhdanchim;
     DSNgauNhien();
 }
 public TTroChoi(RunToDeath trochoichinh)
 {
     trochoi = trochoichinh;
     maunentroi = Convert.ToInt32(trochoi.ngaunhien.Next(0, 3));
 }
 public TGioiThieu(RunToDeath trochoichinh)
 {
     trochoi = trochoichinh;
     NapTaiNguyen();
 }
 public HUMayTroi(RunToDeath trochoichinh, Texture2D anhmaytroi)
 {
     trochoi = trochoichinh;
     hamaytroi = anhmaytroi;
     DSNgauNhien();
 }