News for hackers. Stuff that matters.
Re:What is an entity system framework for game development? by supercoder on Monday March 31, 2014 @07:53AM (#7500815)
You'd define a climbing behaviour by a component on the entity.

So your spaceship might have a 'Climeable' component on it and your infantry might have a 'Climber' component. So only a 'Climber' could go onto a 'Climeable' , but not the reverse.

Re:What is an entity system framework for game development? by Jare on Monday March 31, 2014 @09:07AM (#7501157)
You will also need to qualify these interactions beyond the "class-compatible" test, using flags or exclusion groups or a similar technique to say which climbers can climb atop which climbables. This happens in many areas of interaction between entity components: damage, physics, visibility, etc.