﻿using System;
using UnityEngine;

namespace Assets.Scripts.Moves
{
    public abstract class MoveBase
    {
        protected MoveBase(Type type, int power)
        {
            this.type = type;
            this.power = power;
        }

        private readonly int power;
        public int Power { get { return power; } }

        private readonly Type type;
        public Type MoveType { get { return type; }}

        protected GameObject BaseGameObject { get; private set; }

        public abstract void UseMove();

        public void RegisterBaseGameObject(GameObject gameObject)
        {
            BaseGameObject = gameObject;
        }
    }
}
