Answer the question
In order to leave comments, you need to log in
How to check where a player can go?
There is a method
CalculateMoveVariant()
, it should fill the sheet with all possible options for the move.
Sheet:
private List<Cell> _moveVariants = new List<Cell>();
private int _horizontalCellMove;
private int _verticalCellMove;
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