Ejemplo n.º 1
0
        public Command()
        {
            type = cmd_type.CMD_NONE;

            eou        = new cmd_end_of_update();
            mkball     = new cmd_make_ball();
            mkitem     = new cmd_make_item();
            pkitem     = new cmd_pick_item();
            tiltangles = new cmd_tilt_angles();
            sound      = new cmd_sound();
            timer      = new cmd_timer();
            status     = new cmd_status();
            coins      = new cmd_coins();
            jumpenter  = new cmd_jump_enter();
            jumpexit   = new cmd_jump_exit();
            bodypath   = new cmd_body_path();
            bodytime   = new cmd_body_time();
            goalopen   = new cmd_goal_open();
            swchenter  = new cmd_swch_enter();
            swchtoggle = new cmd_swch_toggle();
            swchexit   = new cmd_swch_exit();
            ups        = new cmd_updates_per_second();
            ballradius = new cmd_ball_radius();
            clritems   = new cmd_clear_items();
            clrballs   = new cmd_clear_balls();
            ballpos    = new cmd_ball_position();
            ballbasis  = new cmd_ball_basis();
            viewpos    = new cmd_view_position();
            viewcenter = new cmd_view_center();
            viewbasis  = new cmd_view_basis();
            currball   = new cmd_current_ball();
            pathflag   = new cmd_path_flag();
            stepsim    = new cmd_step_simulation();
            map        = new cmd_map();
            tiltaxes   = new cmd_tilt_axes();
        }
Ejemplo n.º 2
0
 public void CopyFrom(cmd_ball_radius from)
 {
     r = from.r;
 }