示例#1
0
    void Start()
    {
        SE = SEobj.GetComponents <AudioSource>();
        Screen.SetResolution(1920, 1080, true);
        player      = playerObj.GetComponent <Player>();
        CardHandNum = player.PlayerZone.Count;
        pool        = cardPoolObj.GetComponent <CardPool>();

        getDoubleUp = doubleUpobj.GetComponent <DoubleUp>();

        showSpace         = showZone.GetComponent <ShowSpace>();
        showSpace.manager = this;

        StartCoroutine(GameStart());
    }
示例#2
0
    void Start()
    {
        SystemSound = SEobj.GetComponents <AudioSource>();
        Screen.SetResolution(1920, 1080, true);
        player            = playerObj.GetComponent <Player>();
        CardHandNum       = player.PlayerZone.Count;
        pool              = cardPoolObj.GetComponent <CardPool>();
        enemy             = enemyObj.GetComponent <Enemy>();
        DefaultScale      = SelectFrame.transform.localScale;
        defupos           = new Vector3(-3, 1, 0);
        showSpace         = showZone.GetComponent <ShowSpace>();
        showSpace.manager = this;

        StartCoroutine(GameStart());
    }
示例#3
0
        public void MainMethod()
        {
            List <Point> space = new List <Point>();

            Console.WriteLine("Enter number of points in your space");
            long pointsInSpace = Convert.ToInt64(Console.ReadLine());

            Filler spaceFiller = new Filler();

            spaceFiller.FillSpaceWithPoints(ref space, ref pointsInSpace, -1000, 1000);


            ShowSpace _displaySpace = new ShowSpace();

            _displaySpace.ShowPointsSpace(ref space, space.Count);
        }
示例#4
0
 private void Start()
 {
     SE        = SeObj.GetComponents <AudioSource>();
     showSpace = EnemyShowSpace.GetComponent <ShowSpace>();
 }