54 std::string mTypeName;
61 Bonus(
const std::string& type,
const VecXy& vel,
int score);
67 const std::string&
Type()
const {
return mTypeName; }
70 const int Score()
const {
return mScore; }
const int Score() const
Get the bonus score.
Definition: Bonus.h:70
Bonus()
Default constructor.
Bonus item, dropped when a wall block is hit.
Definition: Bonus.h:52
Vector with two (double precision) coordinate values.
Definition: VecXy.h:59
const std::string & Type() const
Get the bonus type.
Definition: Bonus.h:67
Dynamic object with velocity control.
Definition: DynObj.h:52