System.Collections.Generic.List.Add(wzvector)

Here are the examples of the csharp api System.Collections.Generic.List.Add(wzvector) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 View Source File : momiji.cs
License : BSD 2-Clause "Simplified" License
Project Creator : chengse66

internal void add_animation(actions_animation animation)
		{
			double radius = ClientSize.Height / 4.0;
			double radian = Math.PI * degree / 180.0;
			double sin = Math.Sin(radian);
			double cos = Math.Cos(radian);

			degree = degree + 25;

			animations.Add(animation);
			locations.Add(new wzvector((int)(ClientSize.Width / 2.0 + cos * radius), (int)(ClientSize.Height / 2.0 + sin * radius)));

			Refresh();
		}