~ubuntu-branches/ubuntu/wily/pacman/wily

« back to all changes in this revision

Viewing changes to bonuspnt.cc

  • Committer: Bazaar Package Importer
  • Author(s): Peter Joseph
  • Date: 2001-07-16 00:40:44 UTC
  • Revision ID: james.westby@ubuntu.com-20010716004044-oezvmjnpidekt21n
Tags: upstream-10
ImportĀ upstreamĀ versionĀ 10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include"bonuspnt.h"
 
2
#include"gbonpnt.h"
 
3
#include"pac.h"
 
4
 
 
5
BonusPoint::BonusPoint():Bonus() { 
 
6
 g=new G_BonusPoint;            //new one
 
7
 }
 
8
 
 
9
void BonusPoint::eat(Gamedata* da) { 
 
10
 da->scorepluss(BONUSSCORE);    //specific action: increase score 
 
11
}
 
12