Skip to content

Some upgrades don't seem to be working anymore #32

Open
@NathanLovato

Description

@NathanLovato

Following my refactor of the stats and upgrades, the states, e.g. in PlayerShip, upgrades don't seem to be changing the gameplay. I haven't spent a lot of time investigating, but this might be due to not updating values from the Stats class, for example in a given state. We have to either:

  • Always call *.stats.get_stat("stat_name")
  • Have objects subscribe to stats' stat_changed signal and update a property accordingly

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions