Beispiel #1
0
        protected override WaveFront CreateAPointWaveOnTheWesternEdge(Position position)
        {
            WaveFront adjacentFrontOnWesternSide = new SouthWesternWaveFront();

            adjacentFrontOnWesternSide.WesternPoint         = position;
            adjacentFrontOnWesternSide.EasternPoint         = position;
            adjacentFrontOnWesternSide.IsWesternPointShared = false;
            adjacentFrontOnWesternSide.IsEasternPointShared = true;
            return(adjacentFrontOnWesternSide);
        }
        protected override WaveFront CreateWaveFrontWithSameDirection()
        {
            WaveFront waveFront = new SouthWesternWaveFront();

            return(waveFront);
        }