using UnityEngine;
namespace CameraShake
{
public interface ICameraShake
{
///
/// Represents current position and rotation of the camera according to the shake.
///
Displacement CurrentDisplacement { get; }
///
/// Shake system will dispose the shake on the first frame when this is true.
///
bool IsFinished { get; }
///
/// CameraShaker calls this when the shake is added to the list of active shakes.
///
void Initialize(Vector3 cameraPosition, Quaternion cameraRotation);
///
/// CameraShaker calls this every frame on active shakes.
///
void Update(float deltaTime, Vector3 cameraPosition, Quaternion cameraRotation);
}
}