rivten
how, in Handmade Hero, is an Entity defined ? What is an entity ? What must its properties be in order to be considered a proper one ?
Because if everything can be considered an entity, then it seems to me that the whole system weakens a little bit.
I think that is it fairly subjective, there is definitely a grey area when deciding what should be a proper entity. But I think one specific point to consider is: Will specific instances of the thing interact with specific instances of other things?
The concept of ground as a movement bounding constraint does in-fact effect many entities, but that is already being handled as EntityType_Space (which means that ground in a sense, is already an entity... or well the absence of it)
But the problem that is being worked here is how to visually represent the ground, and that doesn't actually interact with other entities... If ground doesn't need to interact with other entities, then you are just wasting CPU cycles by putting ground in the entity list. If it isn't going to affect anything, then there is no point in looping through it.