rzsavilla / BlobsonicEngine

Group Project: 3D OpenGL Game Engine
GNU General Public License v3.0
2 stars 0 forks source link

Component Based Game Object #6

Closed rzsavilla closed 7 years ago

rzsavilla commented 7 years ago

Implement container class ObjectComponent.

rzsavilla commented 7 years ago

Implemented object game game component commit

rzsavilla commented 7 years ago

Requires object manager. For component object construction.

rzsavilla commented 7 years ago

Redesign of current message handling within entity.

Different design will be used separating Components and Systems. Entity: Contains list of components image

Component: A component simply contains data.

System: image System processes entities that has matching components.

rzsavilla commented 7 years ago

A System will look at an entity to see which components are attached, if the entity recognises/has the components it wants then the system will apply its calculations to it.

rzsavilla commented 7 years ago

A Component/Entity Is pure data. The system manipulates components that it recognises.

rzsavilla commented 7 years ago

Component-Entity-System Architecture is now in the code. #9

Code cleanup is required, to comment code and remove old code/files. Create Tests and reenable lighting.