Exemple #1
0
        public HeightmapModifier(ref Optimized_Heightmap heightmap, int timerInterval)
        {
            this.heightmap = heightmap;

            stamp = Editor.content.Load <Texture2D>(@"content\textures\icons\height_cursor_01");

            timer          = new Timer(timerInterval);
            timer.Elapsed += new ElapsedEventHandler(Timer_tick);
            timer.Start();
        }
        public HeightmapModifier(ref Optimized_Heightmap heightmap, int timerInterval)
        {
            this.heightmap = heightmap;

            stamp = Editor.content.Load<Texture2D>(@"content\textures\icons\height_cursor_01");

            timer = new Timer(timerInterval);
            timer.Elapsed += new ElapsedEventHandler(Timer_tick);
            timer.Start();
        }