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

namespace Arugula.Games
{
    [System.Serializable]
    public struct DamageInfo
    {
        public int amount;
        public GameObject source;
        public GameObject owner;
        public object meta;

        public DamageInfo(int amount, object meta = null) : this()
        {
            this.amount = amount;
            this.meta = meta;
        }

        public DamageInfo(int amount, GameObject source, GameObject owner, object meta = null)
        {
            this.amount = amount;
            this.source = source;
            this.owner = owner;
            this.meta = meta;
        }
    }
}
