#1113 Link uml-reverse-mapper created class diagrams to readme, where needed
This commit is contained in:
@ -12,6 +12,14 @@ tags:
|
||||
## Intent
|
||||
Update method pattern simulates a collection of independent objects by telling each to process one frame of behavior at a time.
|
||||
|
||||
## Explanation
|
||||
The game world maintains a collection of objects. Each object implements an update method that simulates one frame of the object’s behavior. Each frame, the game updates every object in the collection.
|
||||
|
||||
To learn more about how the game loop runs and when the update methods are invoked, please refer to Game Loop Pattern.
|
||||
|
||||
## Class diagram
|
||||

|
||||
|
||||
## Applicability
|
||||
If the Game Loop pattern is the best thing since sliced bread, then the Update Method pattern is its butter. A wide swath of games featuring live entities that the player interacts with use this pattern in some form or other. If the game has space marines, dragons, Martians, ghosts, or athletes, there’s a good chance it uses this pattern.
|
||||
|
||||
@ -25,11 +33,6 @@ Update methods work well when:
|
||||
|
||||
- The objects need to be simulated over time.
|
||||
|
||||
## Explanation
|
||||
The game world maintains a collection of objects. Each object implements an update method that simulates one frame of the object’s behavior. Each frame, the game updates every object in the collection.
|
||||
|
||||
To learn more about how the game loop runs and when the update methods are invoked, please refer to Game Loop Pattern.
|
||||
|
||||
## Credits
|
||||
|
||||
* [Game Programming Patterns - Update Method](http://gameprogrammingpatterns.com/update-method.html)
|
||||
* [Game Programming Patterns - Update Method](http://gameprogrammingpatterns.com/update-method.html)
|
||||
|
BIN
update-method/etc/update-method.urm.png
Normal file
BIN
update-method/etc/update-method.urm.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
Reference in New Issue
Block a user