summaryrefslogtreecommitdiffstats
path: root/pacman-c++/bonuspoint.h
blob: a72a4dbe4d4aa01828905e647d733468f0e6934c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef BONUSPOINT_H
#define BONUSPOINT_H

#include "gameentity.h"

class BonusPoint
  : public GameEntity
{
public:
  enum
  {
    Type = UserType + Transmission::bonuspoint
  };

public:
  BonusPoint(QGraphicsItem *parent=0);
  virtual ~BonusPoint()
  {};

  virtual EnteredState enter(Actor *actor);
  virtual void onDie(Actor *actor);
};

#endif // BONUSPOINT_H