danbuis / ArmadaAIEngineNew

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

Squad location bbdpoint #55

Closed danbuis closed 3 years ago

danbuis commented 3 years ago

Goal of Pull Request

Starting some of the refactoring from the squadron render PR

Potential Tasks

Any other pertinent information

None

danbuis commented 3 years ago

So does this file code allows use to create the squads, and put them on the map? without there values ie hull and weapons?

Technically all this pull request does is modify the one that adds in squad rendering.

But to answer your question, the 2 PRs together build create enough tooling to put Squadron objects out on the map, render them, and move them around.

Each squad object has all the attributes of a Squadron object (so they do have weapons, hull values, speeds, keywords etc) but none of those have been surfaced and rendered. You can still access any of them by doing something like "squadron variable name".getX()

danbuis commented 3 years ago

@Sobonis01 if you are satisfied with this PR could you please merge it. Otherwise please ask me any questions you might have about it.