Skip to content
Snippets Groups Projects
  • rhenck's avatar
    53f887fa
    Refactor element model constructors and styling properties · 53f887fa
    rhenck authored
    - Model constructors (elements, unit, page, section) now have a 
    dedicated parameter, which makes sure all properties are set and valid. 
    This way the player can instantiate models without having to interpret 
    the values. Any interpretation is done only by the editor, which now is 
    solely responsible for creating defaults/blueprints for new elements. 
    Models can no longer be created by incomplete paramaters.
    
    - Also refactor Stylings to have sub groups for common styles
    53f887fa
    History
    Refactor element model constructors and styling properties
    rhenck authored
    - Model constructors (elements, unit, page, section) now have a 
    dedicated parameter, which makes sure all properties are set and valid. 
    This way the player can instantiate models without having to interpret 
    the values. Any interpretation is done only by the editor, which now is 
    solely responsible for creating defaults/blueprints for new elements. 
    Models can no longer be created by incomplete paramaters.
    
    - Also refactor Stylings to have sub groups for common styles
Code owners
Assign users and groups as approvers for specific file changes. Learn more.