Exemplo n.º 1
0
        private void ExampleMakeTables()
        {
            AutoTable <ExampleHero_Table>  autoTable01 = new AutoTable <ExampleHero_Table>();
            AutoTable <ExampleUser_Table>  autoTable02 = new AutoTable <ExampleUser_Table>();
            AutoTable <ExampleSkill_Table> autoTable03 = new AutoTable <ExampleSkill_Table>();

            autoTable01.MakeTable();
            autoTable02.MakeTable();
            autoTable03.MakeTable();
        }
Exemplo n.º 2
0
        private void Stats()
        {
            AutoTable <Player_Table> autoTable = new AutoTable <Player_Table>();

            autoTable.MakeTable();

            Player_TableFac pf = new Player_TableFac();

            Player_Table pt = new Player_Table(100, 250);

            pf.Insert(pt);

            List <Player_Table> Listpt = pf.GetAll();

            foreach (Player_Table item in Listpt)
            {
                Console.WriteLine(item.MoveSpeed);
                Console.WriteLine(item.MaxHealth);
            }
        }