Design Patterns and Video Games

AWT GUI Facade

Learn how to create a GUI API with the Facade pattern and the AWT library.

This series requires basic knowledge of object-oriented programming with Java.
Patterns: Facade, Factory Method, Observer, Visitor, Game Loop.

  1. Display a window
  2. Draw
  3. Display an image
  4. Draw with tiles
  5. Load a level
  6. Mouse and game loop
  7. Draw text
  8. Keyboard and key sequences

If you want more about GUI Facades, see "Learn Design Patterns with Game Programming", Chapter 3, Section 3.3.