Originally Posted By: Frederick_Lim
Thanks for the explanation about component. It that similar to interface in Java?


Never used Java
However it is not so important the programming lamguage by itself rather the game engine architecture

Using a traditional OO game engine the developer must reason in term of entities
The engine supplies classes such as : Camera, Light, Player, Scene etc
Each class contain the basic functions which you may expect from the class name

Using a Component game engine the developer must reason in term of tasks
The engine supplies component such as : Transform , animation etc
Each component contain functions which you may expect from the component name
The functions of the component Animation can be used to animate anything which can be animated in a game
either a player or a light or a camera etc

To me the traditional approach comes more natural