Esempio n. 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);
        }
Esempio n. 2
0
 /// <summary>
 ///
 /// </summary>
 public EditorCamera(MapEditor editor)
 {
     this.rs     = editor.Game.RenderSystem;
     this.game   = editor.Game;
     this.editor = editor;
 }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 public RotateTool(MapEditor editor) : base(editor)
 {
 }
Esempio n. 4
0
 /// <summary>
 ///
 /// </summary>
 public MoveTool(MapEditor editor) : base(editor)
 {
 }
Esempio n. 5
0
 /// <summary>
 ///
 /// </summary>
 public NullTool(MapEditor editor) : base(editor)
 {
 }
Esempio n. 6
0
 /// <summary>
 /// Constrcutor
 /// </summary>
 public Manipulator(MapEditor editor)
 {
     this.rs     = editor.Game.RenderSystem;
     this.game   = editor.Game;
     this.editor = editor;
 }