Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
cant find a pattern to fit neatly - how to make a large number of monsters?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Utilisateur PC Libre Service, post: 599750"] One solution to this problems : -Use the MetaCalss design pattern (MonsterKind is an abstract class, an instance of Monster have exactly one MonsterKing - MonterKing is a kind of singleton for the race, and each Monster is associated with its arm) -Use the strategy design pattern to associate a "way to calculate damages" to a weapon. Search the web for inforations about these patterns :) Regards, Lucien. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
cant find a pattern to fit neatly - how to make a large number of monsters?
Top