public override void Zaladuj(Color kolor_Druzyny, Color32 kolor_Figury, Menager_Figur nowyMenager_Figur) { base.Zaladuj(kolor_Druzyny, kolor_Figury, nowyMenager_Figur); GetComponent <Image>().sprite = Resources.Load <Sprite>("T_Skoczek"); wartosc = 350; }
public override void Zaladuj(Color kolor_Druzyny, Color32 kolor_Figury, Menager_Figur nowyMenager_Figur) { base.Zaladuj(kolor_Druzyny, kolor_Figury, nowyMenager_Figur); _Ruch = new Vector3Int(7, 7, 7); GetComponent <Image>().sprite = Resources.Load <Sprite>("T_Dama"); wartosc = 1000; }
public virtual void Zaladuj(Color kolor_Druzyny, Color32 kolor_Figury, Menager_Figur nowyMenager_Figur) { _Menager_Figur = nowyMenager_Figur; kolor = kolor_Druzyny; GetComponent <Image>().color = kolor_Figury; _RectTransform = GetComponent <RectTransform>(); }
public override void Zaladuj(Color kolor_Druzyny, Color32 kolor_Figury, Menager_Figur nowyMenager_Figur) { base.Zaladuj(kolor_Druzyny, kolor_Figury, nowyMenager_Figur); Pierwszy_Ruch = true; _Ruch = kolor == Color.white ? new Vector3Int(0, 1, 1) : new Vector3Int(0, -1, -1); GetComponent <Image>().sprite = Resources.Load <Sprite>("T_Pionek"); wartosc = 100; }