Changeset View
Changeset View
Standalone View
Standalone View
ksirk/GameLogic/goal.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
65 | 65 | | |||
66 | /** Copy constructor */ | 66 | /** Copy constructor */ | ||
67 | Goal(const Goal& goal); | 67 | Goal(const Goal& goal); | ||
68 | 68 | | |||
69 | /** Default destructor */ | 69 | /** Default destructor */ | ||
70 | ~Goal(); | 70 | ~Goal(); | ||
71 | 71 | | |||
72 | //@{ | 72 | //@{ | ||
73 | /** Accessors for the goal type */ | 73 | /** Accessors for the goal type */ | ||
chehrlic: Custom copy ctor but default operator=() ? Doesn't look correct. | |||||
74 | inline GoalType type() const {return m_type;} | 74 | inline GoalType type() const {return m_type;} | ||
75 | inline GoalType type() {return m_type;} | 75 | inline GoalType type() {return m_type;} | ||
76 | inline void type(GoalType type) {m_type = type;} | 76 | inline void type(GoalType type) {m_type = type;} | ||
77 | //@} | 77 | //@} | ||
78 | 78 | | |||
79 | //@{ | 79 | //@{ | ||
80 | /** Accessors for the goal description */ | 80 | /** Accessors for the goal description */ | ||
81 | inline const QString& description() const {return m_description;} | 81 | inline const QString& description() const {return m_description;} | ||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |
Custom copy ctor but default operator=() ? Doesn't look correct.