using Dev.Scripts.Utilities;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public static class TypeDictionary
{
    public static class BoardTile
    {

    }
    public static class Movable
    {
        public static readonly Dictionary<EMovableType, List<Coordinate>> CoordinateDictionary = new Dictionary<EMovableType, List<Coordinate>>()
        {
            { 
                EMovableType._1x1, new List<Coordinate>()
                {
                    new Coordinate(0,0)
                } 
            },
            { 
                EMovableType._1x2, new List<Coordinate>()
                {
                    new Coordinate(0,0), 
                    new Coordinate(0, 1)
                } 
            },
            { 
                EMovableType._1x3, new List<Coordinate>()
                {
                    new Coordinate(0,0), 
                    new Coordinate(0, 1), 
                    new Coordinate(0, 2)
                } 
            },
            { 
                EMovableType._2x2, new List<Coordinate>()
                {
                    new Coordinate(0,0), new Coordinate(1, 0), 
                    new Coordinate(0, 1), new Coordinate(1, 1)
                } 
            },
            { 
                EMovableType._3x3, new List<Coordinate>()
                {
                    new Coordinate(0,0), new Coordinate(1, 0) ,new Coordinate(2, 0),
                    new Coordinate(0, 1), new Coordinate(1, 1) , new Coordinate(2, 1),
                    new Coordinate(0, 2), new Coordinate(1, 2) , new Coordinate(2, 2),
                } 
            },
            {
                EMovableType.L, new List<Coordinate>()
                {
                    new Coordinate(0,0),
                    new Coordinate(0, 1),
                    new Coordinate(0, 2), new Coordinate(1, 2) , new Coordinate(2, 2),
                }
            },
        };
        public static readonly Dictionary<EMovableType, Color> ColorDictionary = new Dictionary<EMovableType, Color>()
        {
            {
                EMovableType._1x1, Color.cyan
            },
            {
                EMovableType._1x2, Color.yellow
            },
            {
                EMovableType._1x3, Color.green
            },
            {
                EMovableType._2x2, Color.gray
            },
            {
                EMovableType._3x3, Color.blue
            },
            {
                EMovableType.L, Color.magenta
            },
        };
    }
}
