public Nepriatel(HernySvet hernySvet, string cesta) : base(hernySvet) { Bitmap b = new Bitmap(cesta); b.MakeTransparent(Color.Black); obrazok = b; }
public Hrac(HernySvet hernySvet) : base(hernySvet) { Bitmap b = (Bitmap)lod; b.MakeTransparent(Color.Black); obrazok = b; this.X = (max_X / 2) - (obrazok.Width / 2); this.Y = max_Y - obrazok.Height; Zivoty = 3; PocetZasahov = 0; }
private void NastartujHru() { this.BackColor = Color.Black; HernySvet hra = new HernySvet(this); }
public HernyObjekt(HernySvet hernySvet) { this.instancHernehoSveta = hernySvet; }
public Strela(HernySvet hernSvet) : base(hernSvet) { obrazok = new Bitmap("Grafika\\Strela.bmp"); }