Ejemplo n.º 1
0
        protected EntityVisual(EntityPresenter presenter, Component render, Entity entity)
            : base(entity)
        {
            this.presenter = presenter;
            this.render = render;

            if (null != render)
            {
                render.LocalPropertyChanged += OnPropertyChanged;
            }

            entity.AddHandler<EffectiveValueChanged>(OnEffectiveValueChanged);
        }
Ejemplo n.º 2
0
 public TextEntityVisual(EntityPresenter presenter, Component render, Entity entity)
     : base(presenter, render, entity)
 {
 }
Ejemplo n.º 3
0
 public Location(EntityPresenter presenter, double startX, double startY, double observedWidth, double observedHeight)
 {
     Presenter = presenter;
     StartX = startX;
     StartY = startY;
     ObservedWidth = observedWidth;
     ObservedHeight = observedHeight;
 }
Ejemplo n.º 4
0
 public Translation(EntityPresenter presenter, double startX, double startY, double endX, double endY)
 {
     Presenter = presenter;
     StartX = startX;
     StartY = startY;
     EndX = endX;
     EndY = endY;
 }
Ejemplo n.º 5
0
 public Depth(EntityPresenter presenter, int startIndex)
 {
     Presenter = presenter;
     StartIndex = startIndex;
 }