Stendhal code design: Difference between revisions
Content deleted Content added
imported>Hendrik Brummermann |
imported>Kymara m spelling etc |
||
Line 8:
=== Entities ===
'''Example:'''
Line 25:
The design is being
Line 33:
The '''initialize()''' method is called with the RPObject that it will represent. This method is called after the constructor returns, but before anything else is [externally] called.
When the client no longer needs the entity, it should call '''release()''', which should
The class gets notified of object changes via the '''RPObjectChangeListener''' interface that it implements. This will be called for all changes to
Methods
Line 58:
=== UI ===
The user interface (UI) is responsible for bringing together the base client and user interaction. The base class is '''StendhalUI''', and is extended by an
| |||