Stendhal code design: Difference between revisions
Content deleted Content added
imported>Chad3f |
imported>Chad3f |
||
Line 39:
The class gets notified of object changes via the '''RPObjectChangeListener''' interface that it implements. This will be called for all changes to it's object (and immediate slot objects).
Methods
* getArea()
This returns the "ground" area that the entity occupies, as it is in the server (with real-time motion adjustments made by the client).
* update(delta)
This is called periodically so that the entity can update any active state. It is passed the number of milliseconds since the last call.
| |||