Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

PatternCraft - Visitor Pattern

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,644
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 27, 2011

No description available.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • Gotta admit, I couldn't keep a straight face after you've mentioned that the Infantry will just "accept" the bullet in the chest, haha! I like the little bit of humor inserted here and there throughout your video, keeps things interesting. Thanks John :)

  • you sound exactly like seth rogen! :)

  • @MrKestess

    I think accept takes an IVisitor, the interface that both SeigeBullet and StatsVisitor implement. I think this was automatically changed when he extracted IVisitor. IDE witchcraft.

  • Very nice Video. For me it was very difficult to understand the visitor pattern. But now everything seems to be clear.

  • Thank you. Except for one point, that was really clear and I'm sure I just missed something. At 10:33 { InfantryDude.accept(StatsVisit­or); } I can't find where the accept call is defined to receive a StatsVisitor. It seemed to have accept(ed) a SeigeBullet. What did I miss?

    Thanks again.

  • Thanks man! I like the hands on, game centric, explanation.

    Thumbs up!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more