Complete rmgen object-oriented programming paradigm
|Reported by:||elexis||Owned by:|
|Priority:||Nice to Have||Milestone:||Alpha 23|
The most powerful feature of random map generation is the
createArea method which consumes a
The methods to determine a geometric shape, constraining that area arbitrarily and doing something arbitrary to that area are well split by logic into prototypes. This way one can combine them like lego.
Since we now have a significant amount of JS prototypes implementing these interfaces, the files should be split per protoype, gaining the advantages of https://en.wikipedia.org/wiki/Information_hiding.
The remaining code would come out nicer too if it would be split into protoypes.
This is a continuation of #4804.