Stendhal code design: Difference between revisions
Content deleted Content added
imported>Chad3f |
imported>Chad3f |
||
Line 6:
Entity's are created using '''EntityFactory.createEntity()'''. In this method, the appropriete implementation class is created, and initialize().
The design is being transitioned to a Model-View-Controller (MVC) like framework. This will allow different visual implementations (like 2D, 3D) to be plugged in with minimal (or no) changes of the model class.▼
'''Example:'''
Line 22 ⟶ 20:
// Done with entity - free up resources
entity.release();
▲The design is being transitioned to a Model-View-Controller (MVC) like framework. This will allow different visual implementations (like 2D, 3D) to be plugged in with minimal (or no) changes of the model class.
| |||