Software Design Patterns #002 - Decorator Pattern
Design Patterns are a great way to structure your code and help you to avoid common mistakes. In this video we will show you the decorator pattern. This will help you to become a better software engineer!
Reddit Post: https://www.reddit.com/r/gamedev/comments/2dnt3d/randomly_generated_items_using_the_decorator/
Download unity: https://prf.hn/click/camref:1101lezCB/destination:https://store.unity.com/products/unity-plus *
? Thank you for watching our video!
? Subscribe here! It’s FREE: https://www.youtube.com/channel/UChXpovO__JiZrbcfTDFt39w?sub_confirmation=1
► Chapters
0:00 Intro
0:36 Decorate Weapons
4:35 Test it!
4:55 Outro
► Video Description
The decorator design pattern is pretty useful and can help you to write better code and become a better software engineer or even a software architect. In this video we will show you the decorator pattern and a great example. The decorator pattern is one of GMG Studios favorite design patterns.
Decorator Pattern - Wikipedia definition [Source: https://en.wikipedia.org/wiki/Decorator_pattern]:
In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an individual object, dynamically, without affecting the behavior of other objects from the same class. The decorator pattern is often useful for adhering to the Single Responsibility Principle, as it allows functionality to be divided between classes with unique areas of concern.[2] Decorator use can be more efficient than subclassing, because an object's behavior can be augmented without defining an entirely new object.
We are GMG Studio, create our own games and want you to start being creative too.
► SOCIAL MEDIA:
? Instagram: https://www.instagram.com/gmgstudioofficial
? Facebook: https://www.facebook.com/gmgstudioofficial
► Latest Game
?️ Download: https://www.gmgstudio.de/games/latest
► Our Equipment
Sound recorded with : Rode Complete Studio Kit https://amzn.to/2OphZD8 *
We love LeanTween Asset: https://assetstore.unity.com/packages/tools/animation/leantween-3595?aid=1101lezCB *
► Outro Musik
? "MBB - Wake up" is under a Creative Commons license (CC BY-SA 3.0)
Music promoted by BreakingCopyright: https://youtu.be/Xohu_aq8oqk
The goal of GMGStudio is to produce great game and enable you to create awesome mobile games as well. GMG Studio started in the Year 2020. GMGStudio GMG Studio stands for German Mobile Game Studio. We really want to give you something back with GMG Studio. We are two developers who enjoy making games. We just start with GMGStudio and still need to learn a lot. We - GMGStudio or GMG Studio - are always happy if you have any feedback or ideas. You can always reach out to us.
* These links are affiliate links. The products are not more expensive or something like this. You just support us. Thank you very much. We only recommend products we like!
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Software Design Patterns #002 - Decorator Pattern», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.