public void GetStates(RigidTransform[] states)
{
lock (FlipLocker)
{
if (states.Length < manager.entities.Count)
{
throw new ArgumentException("Array is not large enough to hold the buffer.", "states");
}
Array.Copy(this.states, states, manager.entities.Count);
}
}