public Igrac(float x, float y) { X = x; Y = y; shooted = false; spirala = null; imgGore = Bubble_Trouble.Properties.Resources.gore; imgLevo = Bubble_Trouble.Properties.Resources.levo; imgDesno = Bubble_Trouble.Properties.Resources.desno; imgSegasna = imgGore; }
public bool Shot() { if (!shooted) { shooted = true; spirala = new Spirala(); spirala.AddTocka(new Point((int)X + 20, (int)Y + 45)); spirala.AddTocka(new Point((int)X + 21, (int)Y + 45)); return(true); } return(false); }