Hot answers tagged

2

This depends on the language. Since you didn't mention language, I am for the moment going to assume either C++ or C# or D or Rust or some similar low-level language (not Java!), because game development. There are zero advantages to keeping x and y as members of Player rather than abstracting out to a Point/Location type. There are many many advantages to ...



Only top voted, non community-wiki answers of a minimum length are eligible