qmlfrontend/team.h
author Wuzzy <Wuzzy2@mail.ru>
Mon, 08 Apr 2019 15:27:40 +0200
changeset 14767 458a8c4e65ca
parent 14291 f1a5b7baa87f
permissions -rw-r--r--
Clean up Sudden Death messages and animations in Battalion - Remove SD warning (redundant with engine) - Play poison moan sounds - Hide damage tag if no damage

#ifndef TEAM_H
#define TEAM_H

#include <QObject>
#include <QVector>

struct Hedgehog {
  Hedgehog();

  QByteArray name;
  QByteArray hat;
  quint32 hp;
  int level;
};

class Team {
 public:
  explicit Team();

  void resize(int number);
  QVector<Hedgehog> hedgehogs() const;

  QByteArray name;
  QByteArray color;

 private:
  QVector<Hedgehog> m_hedgehogs;
  int m_hedgehogsNumber;
};

#endif  // TEAM_H