>>I have added money and I am not sure if I have profanate the original idea
>>of entity manager.
>>May you check it and tell me if it is correct or no?
>
>Yep it is correct (as Money *is* an entity). But the instance creation
>should be in DefaultEntity.getEntity(String clazz) and not in DefaultItem.
Although by coding it in DefaultItem we can reuse all the item creation
stuff?
BTW do you plan to add something for inventory management?
I am thinking about joining equip, drop and moveequip into a single mega
action.
Actually we miss one attribute ( targetitem ) so that we know we it is being
dropped, move or equiped the item, so that in case the target item is a coin
we join the items. So I need to modify it still a bit.
Regards,
Miguel
|