IsotopicIO / iso-space-game

An open source 3D Unity Game
MIT License
11 stars 4 forks source link

Attachments branch #26

Closed KAAzadi closed 1 year ago

KAAzadi commented 1 year ago

Changed the way the ship communicates with weapons to be directly through the hardpoints, giving the hardpoints the ability to communicate to it's attachment. I created two enums (Size and Types) that can be used to determine how things can fit if needed, and the hardpoints can use the attachment through the inherited Use method (this is a rename of the FireWeapon method to allow for easier abstraction).

ghost commented 1 year ago
👇 Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/IsotopicIO/iso-space-game/26/31925244/7adb3799739633aedd1974f57ad4dc3238408fa3.svg)](https://app.codesee.io/r/reviews?pr=26&src=https%3A%2F%2Fgithub.com%2FIsotopicIO%2Fiso-space-game) #### Legend CodeSee Map legend
KAAzadi commented 1 year ago

Closing to fix up my code to better fit the guidelines.