Mercurial > fife-parpg
view demos/rpg/maps/allobjects.xml @ 595:ea80b41c9bd7
- tested & applied patch by Helios
- fixes API inconsistence and removed NotFound Exceptions for:
- layer.getInstance()
- model.getObjects()
NOTE:
- model.getObject() returned 0 if no objects were found, whereas model.getObjects() throws an exception (-> inconsistent)
author | chewie@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 21 Aug 2010 15:44:03 +0000 |
parents | f85762e634c5 |
children |
line wrap: on
line source
<?xml version='1.0' encoding='UTF-8'?> <Settings> <Module name="models"> <Setting name="Player" type="dict"> file : objects/actors/player/warrior/object.xml ; model : goldstack </Setting> <Setting name="GoldStack" type="dict"> file : objects/items/goldstack/object.xml ; model : goldstack </Setting> <Setting name="Quiller" type="dict"> file : objects/actors/player/warrior/object.xml ; model : warrior </Setting> <Setting name="TempleEntrance" type="dict"> file : objects/ground/temple_entrance/object.xml ; model : temple_entrance </Setting> </Module> <Module name="objects"> <Setting name="goldstack" type="dict"> type : GOLD ; modelname : GoldStack ; value : 5000 </Setting> <Setting name="templeportal" type="dict"> type : PORTAL ; modelname : TempleEntrance ; dest : town </Setting> <Setting name="quiller" type="dict"> type : QUESTGIVER ; modelname : Quiller </Setting> <Setting name="signenemy1" type="dict"> type : ENEMY ; modelname : Quiller </Setting> </Module> </Settings>