Exemple #1
0
    public override void CalcWants(Option <Tile> MaybeFloor)
    {
        MaybeFloor.Match(
            some: Floor => {
            TargetPoint.Match(
                some: Target => { },

                none: () => {
                UpdateTargetPoint(Floor.Point);
            }
                );
        },

            none: () => { }
            );
    }