Exemple #1
0
    public override void SetupMoves()
    {
        MoveSet = new Move[1];

        List <Vector2Int> pointList = PieceContainer.LineMoveCreator("07070707", Side);

        MoveSet[0] = new Move(new AttackMove(), pointList);
    }
Exemple #2
0
    public override void SetupMoves()
    {
        MoveSet = new Move[3];

        List <Vector2Int> pointList1 = PieceContainer.LineMoveCreator("00000001", Side);

        MoveSet[0] = new Move(new PureMove(), pointList1);
        List <Vector2Int> pointList2 = PieceContainer.PointMoveCreator(new List <(int, int)> {
            (0, 2)
        }, Side);
Exemple #3
0
    public override void SetupMoves()
    {
        MoveSet = new Move[2];

        List <Vector2Int> pointList1 = PieceContainer.LineMoveCreator("00010001", Side);

        MoveSet[0] = new Move(new AttackMove(), pointList1);
        List <Vector2Int> pointList2 = PieceContainer.LineMoveCreator("01000100", Side);

        MoveSet[1] = new Move(new PureAtttack(), pointList2);
    }