Exemplo n.º 1
0
 // Add in this order: 1,3,2,4
 public void add_player_view(Player_View pv)
 {
     player_views.Add(pv);
 }
Exemplo n.º 2
0
        private void render_player(int player, Vector2 topLeft, Vector2 bottomRight, Viewport viewport)
        {
            cur_View = player_views[player];  // this is the cur player
            //      player_views[player].set_camera(topLeft, bottomRight);

            graphics.GraphicsDevice.Viewport = viewport;
            render_world();
            render_player_hud(player, topLeft, bottomRight);
        }