Component Pattern in C++ - Part 2 of n - Component Pattern Basics

4 Просмотры
►Software Design and Design Patterns Playlist:
►Find full courses on:
►Join as Member to Support the channel:

►Lesson Description: In this lesson we are introduce our component design pattern, and contrast it with the 'monolithic object' design we previously had. Fundamentally, the component design pattern is just replacing our data members with a vector of data members. This adds a layer of indirection for the flexibility of being able to 'resize' and 'change' the functionality of a game object (which just holds components). We'll later discuss how this can be improved further by building an entity-component system for those who are trying to squeeze out even more performance. As always, feel free to leave comments discussing your ideas on the component pattern.

►YouTube Channel:
►Please like and subscribe to help the channel!
►Join our free community:
Язык программирования C++
Комментариев нет.