public Spring_Grid_Force_Placement_Manager(Spring_Effect spring_effect)
        {
            this.Force_By_Position_Accumulator = spring_effect.Force_By_Position_Accumulator;
            Forces = new List<Force_Draw_Handle>(500);
            Singleton = this;

            Instances = new Force_Quad_Instances_Manager(CM.game1.GraphicsDevice, MY_Model_Slot_Info_Multiton.Spring_Grid_Force_Drawing_Slot_Info);
        }
示例#2
0
        public Spring_Effect(GraphicsDevice gd)
        {
            this.device = gd;

            helper = new Help.GPU_Vertex_Helper(sizex, sizey);
            Create_Vertex_Buffers();
            Create_Surfaces();
            force_placement_manager = new Spring_Grid_Force_Placement_Manager(this);
            Create_Effects();
            Create_Debug_Structures();
        }