Stendhal code design: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Chad3f
imported>Chad3f
Line 2: Line 2:


== Client ==
== Client ==

=== Base Client ===

The base client ([ideally] free of any specific UI) is '''StendhalClient'''. It is responsible for interacting with the server, maintaining private user information/state, and dispatching object events.



=== Entities ===
=== Entities ===


Entity's are created using '''EntityFactory.createEntity()'''. In this method, the appropriete implementation class is created, and initialize().
Entity's are created using '''EntityFactory.createEntity()'''. In this method, the appropriete implementation class is created, and initialize.


'''Example:'''
'''Example:'''