Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needs to work with multiple ships #4

Open
abrindam opened this issue Jan 10, 2016 · 2 comments
Open

Needs to work with multiple ships #4

abrindam opened this issue Jan 10, 2016 · 2 comments
Labels

Comments

@abrindam
Copy link
Owner

There are several places in the code where we do getPlayerShip(0). This probably will break in a game with multiple ships.

@abrindam abrindam added the bug label Jan 10, 2016
@jacobmaxfrank
Copy link
Collaborator

All playable models are ready as OBJ files. The correct model file needs to be selected based on ship class in Damcon.java:loadAndWireframeifyModel().

abrindam pushed a commit that referenced this issue Oct 3, 2016
…t will be using. Support for changing displayed model based on this still needed.
abrindam pushed a commit that referenced this issue Oct 3, 2016
jacobmaxfrank added a commit that referenced this issue Oct 3, 2016
-Replace PreGamePanel with ShipSelectionPanel
-Radio button group implementation

Also:
-Fix default ready to false
-Add accessors for Ship
-Catch for null callback
-TransparentJPanel now defaults to null LayoutManager

Various debugging/WIP/hack stuff is left in to help debug this issue:
-Hack in getCurrentShip() defaulting to 1
-Hack in RealEngineeringConsoleManager.java left in but commented
-Need to sleep in selectShip()?
-Print sending ready
-Print sending ship/console selection
@jacobmaxfrank
Copy link
Collaborator

FYI the code as of the above commit does not properly handle receiving an updated list of ship names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants