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