Skip to content

Zadanie 7 #7

Description

@bartosz-gruszczyk

Napisz klasę Player, która posiadać będzie 3 pola:

  • std::unique_ptr<Ship> ship_
  • money_
  • availableSpace_
    Dopisz także odpowiednie gettery oraz konstruktor.
    Dopisz także 2 funkcje, które powinny zwracać dane ze statku:
  • size_t getSpeed() const
  • Cargo* getCargo(size_t index) const

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions