The type or namespace LearnableMove could not be found

Here is my error that is spitting out twice.

Assets/Scripts/Pokemon/Pokemon.cs(146,12): error CS0246: The type or namespace name ‘LearnableMove’ could not be found (are you missing a using directive or an assembly reference?)

Appreciate it if anyone could help :slight_smile:

Here is my code for the Pokemon.cs script.

public LearnableMove GetLearnableMoveAtCurrLevel ()
{
    return Base.LearnableMoves.Where(x => x.Level == level).FirstOrDefault();
}

public void LearnMove(LearnableMove moveToLearn)
{
    if (Moves.Count > PokemonBase.MaxNumOfMoves)
        return;
    Moves.Add(new Move(moveToLearn.Base));
}

And in another script which is called PokemonBase I have a SerializeField

[SerializeField] public List<LearnableMove> learnableMoves;
public List<LearnableMove> LearnableMoves => learnableMoves;

And I also have a class inside PokemonBase called LearnableMove

public class LearnableMove
{
    [SerializeField] MoveBase moveBase;
    [SerializeField] int level;
    public MoveBase Base { get { return moveBase; } }
    public int Level { get { return level; } }
}