コード例 #1
0
        public Store()
        {
            showcase = new Showcase(5);

            Game g1 = new Game("Braid", "timeywimey puzzle game", 10f);

            // add games in the showcase
        }
コード例 #2
0
        public Store()
        {
            showCase = new Showcase(5);
            Game g1 = new Game("Raid Shadow Legends", "Best game ever", 10);
            Game g2 = new Game("Fallout 76", "Sucks", 60);
            Game g3 = new Game("Fortnite", "Child Casino", 1);

            //Need to add games to showcase
            showCase.addGame(g1);
            showCase.addGame(g2);
            showCase.addGame(g3);
            DLC d1 = new DLC("Engineers", 10, "New gear");

            g2.dlcs.Add(d1);
        }
コード例 #3
0
ファイル: Store.cs プロジェクト: NiroseDK/githubTest
        public Store()
        {
            showcase = new Showcase(5);
            Game g1 = new Game("Braid", 7, "Puzzle", 20);
            Game g2 = new Game("Warcraft", 4, "RTS", 40);
            Game g3 = new Game("Doom", 9, "Shooter", 60);

            DLC d1 = new DLC(g2, "value pack", 5, 10);

            g2.dlcs.Add(d1);

            // We need to add games to the showcase
            showcase.AddGame(g1);
            showcase.AddGame(g2);
            showcase.AddGame(g3);
        }
コード例 #4
0
        public Store()
        {
            showcase = new Showcase(5);
            Game g1 = new Game("Braid", "timeywimey puzzle game", 10);
            Game g2 = new Game("Warcraft 3", "bad cash grab", 40);
            Game g3 = new Game("Doom", "demon bad, pewpew", 1);

            //we need to add games to the showcase
            showcase.AddGame(g1);
            showcase.AddGame(g2);
            showcase.AddGame(g3);

            DLC d1 = new DLC("Frozen Throne", "more warcraft 3", 100);

            g2.dlcs.Add(d1);
        }
コード例 #5
0
 public Store()
 {
     showcase = new Showcase(5);
     Game g1 = new Game("Braid", "TimeyWimey puzzle game", 10);
     //Add Games to the showcase??
 }
コード例 #6
0
        // Buying things
        // Seeing what is for sale

        public Store()
        {
            showcase = new Showcase(5);
            Game g1 = new Game("Braid", "Timywimey puzzle game", 10);
            // We need to add games to the showcase
        }
コード例 #7
0
ファイル: Store.cs プロジェクト: TheNoblish/storeTest
 public Store()
 {
     showcase = new Showcase(5);
     Game g1 = new Game("Braid", "wibbily wobbly time shit", 10f);
     //addgamesesesesesestoshowcaseseses
 }