summaryrefslogtreecommitdiffstats
path: root/pacman-c++/bonuspoint.h
blob: fbb5ba25514af9a86d4a14e8c42d6235064f2848 (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 bool enter(Actor *actor);
  virtual void onDie(Actor *actor);
};

#endif // BONUSPOINT_H