using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CardInstance : MonoBehaviour
{

    public Card CardTemplate
    {
        get {
            return _cardTemplate;
        }
        set {
            _cardTemplate = value;
            Dirty = true;
        }
    }
    private Card _cardTemplate;

    public bool Dirty = true;

    // This is where the card would like to be, and can be used to update the card's position every frame
    public Vector3 TargetWorldPosition = Vector3.zero;
    public float CardVelocity = 3.0f; // Velocity in world space per second that the card is allowed to move

    public Quaternion TargetRotation = Quaternion.identity;

    public float MaxRotation = 90.0f;

    public bool BeingHovered = false;

    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
