Visit our Discord community hangout and have a real-time talk with the regulars, and keep track of UnrealSP.org developments.
Development on a new site is currently in-progress.
Until then, site contents are available on the Legacy site!
Additionally, newer content written by our staff is available in a temporary subforum.
We sincerely apologize for the delays in recreating the site.
Moderators: ividyon, Semfry, zYnthetic
Post Posted: 30 Mar 2018, 19:11
Post Posted: 30 Mar 2018, 23:05
Post Posted: 31 Mar 2018, 01:46
Feralidragon wrote:A "prototype" however actually configures and "implements" that "component", meaning that all the methods for implementation are defined in that prototype.Then, upon a "component" instantiation, you just provide the "prototype" you want it to use (as an instance or the class itself), and that "prototype" then shapes up the "component" from within, without the "component" itself looking any different from outside when used in any given context.
Buff Skeleton wrote:I have to wonder about the SRP vs. Actor god-class architecture now. Why do you think Actor was written this way? Inexperience? Or was there maybe a legit reason for it?
Post Posted: 31 Mar 2018, 13:26
Jet v4.3.5 wrote:I've done this before in my own code, based off the Strategy Pattern. The only real difference seems to be that instead of implementing a single method, you provide implementation to a set of multiple methods. State and Command patterns are also considerably similar to what you describe, but still technically different. It's almost a shock the Gang of Four never formalized it as its own pattern.
Return to “Content Creation”
Users browsing this forum: No registered users and 2 guests