Presentation is loading. Please wait.

Presentation is loading. Please wait.

Design Patterns in Game Design

Similar presentations


Presentation on theme: "Design Patterns in Game Design"— Presentation transcript:

1 Design Patterns in Game Design
1

2 Creational Design Patterns
Abstract Factory Factory for building related objects Factory Method Creates an instance of several derived classes Prototype Factory for cloning new instances from a prototype Singleton A class of which a single object can exist

3 Structural Patterns Adapter Composite Decorator Flyweight
Match interfaces of different classes Composite A tree structure of simple and composite objects Decorator Add responsibilities of objects dynamically Flyweight Large numbers of fine-grained objects shared efficiently Model View Controller Divides a given application into three interconnected parts

4 Behavioral Patterns Command Iterator Memento Null Observer State
Encapsulates a command request as an object Iterator Elements of a collection are accessed sequentially Memento Capture and restores an object’s internal state Null Encapsulate the absence of an object by providing a suitable default do nothing behavior Observer A way of notifying change to a number of classes State Alter an object’s behavior when its state changes

5 ?

6 References


Download ppt "Design Patterns in Game Design"

Similar presentations


Ads by Google