/// <summary> /// Loads some sample animations for testing purposes. /// </summary> private void HardCode() { Animation3D tmp; tmp = new Animation3D(1f, Matrix.CreateTranslation(Vector3.Left * 10), "Cannon0"); animations.Add("Cannon0_Fire", tmp); tmp = new Animation3D(.1f, Matrix.CreateTranslation(Vector3.Zero), "Cannon0"); animations.Add("Cannon0_Cooldown", tmp); tmp = new Animation3D(.1f, Matrix.CreateTranslation(Vector3.Left * 10), "Barrel1"); animations.Add("Cannon1_Fire", tmp); tmp = new Animation3D(1, Matrix.CreateTranslation(Vector3.Right * 10), "Barrel1"); animations.Add("Cannon1_Cooldown", tmp); }