Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="rs"></param>
        /// <param name="editor"></param>
        public EditorHud(MapEditor editor)
        {
            this.rs     = editor.Game.RenderSystem;
            this.game   = editor.Game;
            this.editor = editor;

            spriteLayer = new SpriteLayer(rs, 2048);
            rs.SpriteLayers.Add(spriteLayer);
        }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 public EditorCamera(MapEditor editor)
 {
     this.rs     = editor.Game.RenderSystem;
     this.game   = editor.Game;
     this.editor = editor;
 }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 public RotateTool(MapEditor editor) : base(editor)
 {
 }
Пример #4
0
 /// <summary>
 ///
 /// </summary>
 public MoveTool(MapEditor editor) : base(editor)
 {
 }
Пример #5
0
 /// <summary>
 ///
 /// </summary>
 public NullTool(MapEditor editor) : base(editor)
 {
 }
Пример #6
0
 /// <summary>
 /// Constrcutor
 /// </summary>
 public Manipulator(MapEditor editor)
 {
     this.rs     = editor.Game.RenderSystem;
     this.game   = editor.Game;
     this.editor = editor;
 }