design patterns for game development

1
DESIGN PATTERN For the game development they are 3 pattern can used, namely : Prototype pattern Singleton pattern Strategy pattern. The design of the project is singleton design pattern. Games are a special area of software engineering,but despite its special nature, it can still apply many of the lessons of software engineering. Singleton pattern lies on top of creational pattern. It restrict instantiation of a class to one object only.Problem : Application needs one, and only one, instance of an object. The main activity of our game is the initialization of the game environment followed by number of other features invoke sequentially(depends). We have kept all the software pattern principles in mind.

Upload: isfand-yar-khan

Post on 19-Feb-2017

66 views

Category:

Design


0 download

TRANSCRIPT

Page 1: Design patterns for game development

DESIGN PATTERN

For the game development they are 3 pattern can used, namely :Prototype patternSingleton patternStrategy pattern.

The design of the project is singleton design pattern. Games are a special area of software engineering,but despite its special nature, it can still apply many of the lessons of software engineering.Singleton pattern lies on top of creational pattern. It restrict instantiation of a class to one object

only.Problem : Application needs one, and only one, instance of an object. The main activity of our

game is the initialization of the game environment followed by number of other features invoke

sequentially(depends). We have kept all the software pattern principles in mind.