public FormGame(CardMaker f_CardMaker, Game f_Game) { InitializeComponent(); m_CardMaker = f_CardMaker; m_Game = f_Game; }
public FormEditCard(CardMaker f_CardMaker, Card f_Card) { InitializeComponent(); m_CardMaker = f_CardMaker; m_Card = f_Card; }
public FormCards(CardMaker f_CardMaker, string f_strGroup) { InitializeComponent(); m_CardMaker = f_CardMaker; cmbGroup.Text = f_strGroup; }
public FormEditDeck(CardMaker f_CardMaker, Deck f_Deck) { InitializeComponent(); m_CardMaker = f_CardMaker; m_Deck = f_Deck; m_lstCardIDsTemp = new List <string>(); m_lstCardIDsTemp.AddRange(m_Deck.CardIDs); }
void Start() { timer = 0; lerp = false; isPressed = false; startPos = thisScreen.position; startPos.z = Camera.main.transform.position.z; targetPos = nextScreen ? nextScreen.position : startPos; targetPos.z = Camera.main.transform.position.z; cardMaker = startNewGame ? GameObject.FindGameObjectWithTag("card grid").GetComponent("CardMaker") as CardMaker : null; cardComparator = startNewGame ? GameObject.FindGameObjectWithTag("card grid").GetComponent("CardComparator") as CardComparator : null; }
void Start() { state = GameObject.Find("persist_State").GetComponent <persist_state>(); cardMaker = GameObject.Find("sort").GetComponent <CardMaker>(); }
public FormMenu(CardMaker f_CardMaker) { InitializeComponent(); m_CardMaker = f_CardMaker; }
public FormSelectDeck(CardMaker f_CardMaker) { InitializeComponent(); m_CardMaker = f_CardMaker; }
//private bool isGameStart; void Start() { cardMaker = gameObject.GetComponent("CardMaker") as CardMaker; cardComparator = gameObject.GetComponent("CardComparator") as CardComparator; //isGameStart = false; }