Advertisement

Latest separatecode Activity

There are three common ways to organize this:

  • Write different functions. Keeping them in sync when changing is annoying.
  • Use if() statements on the inside of the functions, if the differences aren't particularly big. (Unreal does a lot of this.)
  • Use implementation inheritance or delegation, and take …
  • 5,595 views
    Advertisement
    Advertisement
    Advertisement