public override void Move(int src, int dst, Component component) { var body = component as Body; body.Weight[dst] = Weight[src]; body.Bounciness[dst] = Bounciness[src]; body.Friction[dst] = Friction[src]; }
public override void Move(int src, int dst, Component component) { var view = component as Viewport; view.Left = Left; view.Top = Top; view.Width = Width; view.Height = Height; }
public override void Move(int src, int dst, Component component) { var h = component as Hotspots; h.Left[dst] = Left[src]; h.Right[dst] = Right[src]; h.Top[dst] = Top[src]; h.Bottom[dst] = Bottom[src]; h.LeftHit[dst] = LeftHit[src]; h.RightHit[dst] = RightHit[src]; h.TopHit[dst] = TopHit[src]; h.BottomHit[dst] = BottomHit[src]; }
public override void Move(int src, int dst, Component component) { var anim = component as Animation; anim.Sprite = Sprite; }
public override void Move(int src, int dst, Component component) { }
public override void Move(int src, int dst, Component component) { var aabb = component as AABB; aabb.Width[dst] = Width[src]; aabb.Height[dst] = Height[src]; }
public override void Move(int src, int dst, Component component) { var health = component as Health; health.Value[dst] = Value[src]; }