Esempio n. 1
0
    void init_board()
    {
        moving p = new moving();
        moving b = new moving();

        p.default_paddle();
        b.default_ball();

        move_list.Clear();
        move_list.Add(p); // first item in the list is always the paddle
        move_list.Add(b);

        redraw_screen();
        p.draw(context);
    }