示例#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;
 }