danbuis / ArmadaAIEngineNew

Revisit of an old project to create an AI for Star Wars Armada
1 stars 0 forks source link

Separate any rendering code from the Squadron object #47

Closed danbuis closed 2 years ago

danbuis commented 3 years ago

Requirements

Right now rendering is pretty tightly coupled to the squadron object, which makes testing pretty ugly because we either have to spin up an openGL instance for testing, or somehow bypass anything that uses openGL.

Due to laziness and the desire to get some basics done I went with option 2.

Potential Solutions

Decouple the squadron object from the Squadron GameComponent object. Specifically go from a IS A to a HAS A relationship. A Squadron GameComponent has a squadron object it is rendering. Currently a Squadron GameComponent is a squadron object.

Potential Tasks

What does it take to call this issue complete?

danbuis commented 2 years ago

Closed this a while ago