예제 #1
0
파일: FormGame.cs 프로젝트: Ape59/CardMaker
        public FormGame(CardMaker f_CardMaker, Game f_Game)
        {
            InitializeComponent();

            m_CardMaker = f_CardMaker;
            m_Game      = f_Game;
        }
예제 #2
0
        public FormEditCard(CardMaker f_CardMaker, Card f_Card)
        {
            InitializeComponent();

            m_CardMaker = f_CardMaker;
            m_Card      = f_Card;
        }
예제 #3
0
        public FormCards(CardMaker f_CardMaker, string f_strGroup)
        {
            InitializeComponent();

            m_CardMaker = f_CardMaker;

            cmbGroup.Text = f_strGroup;
        }
예제 #4
0
        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);
        }
예제 #5
0
 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;
 }
예제 #6
0
 void Start()
 {
     state     = GameObject.Find("persist_State").GetComponent <persist_state>();
     cardMaker = GameObject.Find("sort").GetComponent <CardMaker>();
 }
예제 #7
0
        public FormMenu(CardMaker f_CardMaker)
        {
            InitializeComponent();

            m_CardMaker = f_CardMaker;
        }
예제 #8
0
        public FormSelectDeck(CardMaker f_CardMaker)
        {
            InitializeComponent();

            m_CardMaker = f_CardMaker;
        }
예제 #9
0
    //private bool isGameStart;

    void Start()
    {
        cardMaker      = gameObject.GetComponent("CardMaker") as CardMaker;
        cardComparator = gameObject.GetComponent("CardComparator") as CardComparator;
        //isGameStart = false;
    }