talontos / incursio-project

Automatically exported from code.google.com/p/incursio-project
0 stars 0 forks source link

Game Entity Overhaul #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To make it easier on us to add content, I believe it would be a great idea
to strip out all entity functionality into a component-based architecture.
 This will be a major change, but I think will prove very beneficial.

Original issue reported on code.google.com by mitch.mg...@gmail.com on 12 May 2008 at 7:17

GoogleCodeExporter commented 9 years ago
In an entity's update function, we can loop over all of their components, which
subsequently calls that component's update function.

Components:
 - BaseComponent
   -Update()
     -this will probably need a reference to the owning entity

 - RenderComponent
   - handle all drawing

 - MoveComponent
   - We'll need something special to handle builders so that we can still set rally
points

 - AttackComponent

 - BuildComponent

 - ExperienceComponent
   -Handles Experience (Hero)

Original comment by mitch.mg...@gmail.com on 12 May 2008 at 7:34

GoogleCodeExporter commented 9 years ago

Original comment by mitch.mg...@gmail.com on 16 May 2008 at 5:07

GoogleCodeExporter commented 9 years ago
The bulk is done; some tweaking is required, still

Original comment by mitch.mg...@gmail.com on 27 May 2008 at 8:12

GoogleCodeExporter commented 9 years ago
The overhaul is pretty much complete!

Original comment by mitch.mg...@gmail.com on 25 Jun 2008 at 2:42