Moved enum flags helper to its own header.
Moved EntityPlayerState into EntityPlayer.
Removed Intersect and Action based state skeletons.
Use predicate filters instead of types for interactions.