Basic knowledge on using Javascript ES5 access modifiers and inheritance
#2
I've made the following changes:

1. Changed the name of the 2nd pattern from Private Function to Composable Revealing Module.
    This change leads to a better indication that the 2nd pattern's a special case of the revealing module pattern.
2. Changed the name of the 3rd pattern from Protected Class to Parasitic Inheritance, which supports multiple inheritance.
    I feel very sorry for not realizing that I've just reinvented the wheel.
My RMVXA/RMMV/RMMZ scripts/plugins:
http://rpgmaker.net/users/DoubleX/scripts/
Reply }


Messages In This Thread
RE: Basic knowledge on using Javascript access modifiers and inheritance - by DoubleX - 02-15-2017, 03:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Basic knowledge to the default RMMZ TPBS battle flow implementations DoubleX 0 1,653 03-05-2022, 07:33 AM
Last Post: DoubleX
   Basic knowledge to the default RMMZ turn based battle flow implementations DoubleX 0 1,635 03-01-2022, 05:11 AM
Last Post: DoubleX
   [RMMZ]Using ES6 Class Inheritance/Extensions For Aliasing Without Prototypes DoubleX 0 2,731 08-01-2020, 03:19 PM
Last Post: DoubleX
   Naive ideas on basic 2D collision detection with simple shapes DoubleX 0 3,799 07-05-2016, 02:28 PM
Last Post: DoubleX
   Basic knowledge in concurrency with a centralized clock DoubleX 0 3,520 07-05-2016, 02:22 PM
Last Post: DoubleX
   The Basic, Still-Image Battler Tutorial Ratty524 0 4,678 12-06-2008, 04:31 PM
Last Post: Ratty524



Users browsing this thread: 1 Guest(s)