public IDirectionalAnimation ToItem(AGSSerializationContext context) { IDirectionalAnimation item = new AGSDirectionalAnimation(); item.Left = Left.ToItem(context); item.Right = Right.ToItem(context); item.Up = Up.ToItem(context); item.Down = Down.ToItem(context); item.UpLeft = UpLeft.ToItem(context); item.UpRight = UpRight.ToItem(context); item.DownLeft = DownLeft.ToItem(context); item.DownRight = DownRight.ToItem(context); return(item); }
private void leftDownButton_Click(object sender, EventArgs e) { DownLeft?.Invoke(); }
public override Shape clone() { return(new Rectangle((Point)TopLeft.clone(), (Point)TopRight.clone(), (Point)DownLeft.clone(), (Point)DownRight.clone())); }