コード例 #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();
        }
コード例 #2
0
ファイル: HeightmapModifier.cs プロジェクト: GodLesZ/svn-dump
        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();
        }