mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-20 19:11:23 +01:00
Updated Object Model (markdown)
parent
f0cd06e154
commit
c44b94abe3
1 changed files with 1 additions and 3 deletions
|
|
@ -1,9 +1,7 @@
|
|||
**[Object model](https://en.wikipedia.org/wiki/Object_model)** in FMG is poorly defined, inconsistent and not documented in the codebase. This page is the first and the only try to document it somehow. Once everything is documented, it can be used for building a new consistent model.
|
||||
**[Object model](https://en.wikipedia.org/wiki/Object_model)** in FMG is poorly defined, inconsistent and not documented in the codebase. This page is the first and the only try to document it somehow. Once everything is documented, it can be used for building a new consistent model. Please note the current document reflect the object model as is, so with all its quirks. The model we want to get will be coverer separately.
|
||||
|
||||
FMG exposes all its basic data to the global namespace. The global namespace is getting polluted and it can cause conflicts with 3rd party extensions. But it allows much faster debugging and allows users to run custom JS code to alter the behavior and perform custom changes. So it allows dev console to be used by end-users.
|
||||
|
||||
Please note the current document reflect the object model as is, so with all its quirks. The model we want to get will be coverer separately.
|
||||
|
||||
# Basic objects
|
||||
FMG has two meta-objects storing most of the map data:
|
||||
* `grid` contains map data before _repacking_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue