Ad
  • Custom User Avatar

    Hi! There is code in your Viking Move method which is wrong for strategy pattern usage. The idea of strategy is to avoid if-else constructions. Otherwise is new MoveBehavior class is added you will need to change the Move method. The implementation for Viking Move should be just the next:

    public void Move()
    {
    MoveBehavior.Move(this);
    }

    Good luck!