Components vs Interfaces vs Abstract Classes (When to Use What?)

Опубликовано: 06 Февраль 2026
на канале: AmrMakesGames
4,664
323

Should I use an abstract class? An interface? Or a component?

Have you ever wondered if there is an easy answer to this question that you always ask yourself whenever implementing a new system and get stuck at, sometimes?

Today, we’re going to come up with a guideline or a set of questions that will help us answer our main question easily.

By designing three different systems, and for each system, we’re going to test the three solutions, to understand by contradicting them, what solution is a good fit for the system we’re implementing, and what are the advantages and disadvantages we get from each solution.

--------------------------------------------------------------------------------
Timestamps:
00:00 Intro
01:05 Health System
04:30 Quest System
07:00 Interaction System
10:10 Conclusion

--------------------------------------------------------------------------------
Credits:
Music by LEMMiNO on Soundcloud -
  / lemmino