Pie115 / CS179RTS

Space themed RTS Game
2 stars 0 forks source link

add an interface for upgrade. #28

Closed seanxpw closed 3 months ago

seanxpw commented 3 months ago

Add a blueprint interface Content/BluePrints/Interfaces/BI_Upgrade.uasset Input specifies what we want to upgrade. No output. image I think we can remove UpgadeActor later.

How to ues the interface? image Simply call the interface, all implementation detailes are hided.

Example of implementing the interface: image in the implementation of the command ship, image ONLY WEAPON ATTACK CAN UPGRADE TWICE, others are once. But it'll be eazy to for the others to change.