change title, old one still available
[exterlulz-kokogems.git] / src / ScoreBubble.h
blob2fc30c2669d3e10a45f2d8c8b45a053347fea844
1 //
2 // ScoreBubble.h
3 // jeweltoy
4 //
5 // Created by Mike Wessler on Sat Jun 15 2002.
6 //
7 /*
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 2
11 of the License, or (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 ----====----====----====----====----====----====----====----====----====---- */
23 #import <Cocoa/Cocoa.h>
25 @class OpenGLSprite;
27 @interface ScoreBubble : NSObject
29 int value;
30 NSPoint screenLocation;
31 int animationCount;
32 NSImage *image;
34 OpenGLSprite *sprite;
37 +(ScoreBubble *)scoreWithValue:(int)value At:(NSPoint)loc Duration:(int)count;
39 -(void)drawImage;
40 -(void)drawSprite;
42 -(id)initWithValue:(int)value At:(NSPoint)loc Duration:(int)count;
43 -(int)animate;
45 -(int)animationCount;
46 -(void)setAnimationCount:(int)count;
48 -(int)value;
50 -(NSImage *)image;
52 -(NSPoint)screenLocation;
54 @end