Answer the question
In order to leave comments, you need to log in
How to implement this system?
Hello experts. I decided to make a game (knowledge of Unity is not needed for the answer).
There is an abstract class UnitBase
public abstract class UnitBase
{
public void Move(Cell cell)
{
}
public void Attack(Cell cell)
{
}
public List<Cell> CalculateVariants()
{
var variants = new List<Cell>();
return variants;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question